From 72c2c1992b854e41a0ac84b12dade4bf8f655cb9 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Tue, 31 May 2016 15:23:34 +0200 Subject: [PATCH] rspec fixed --- spec/shared_examples/wp_item_findable_found_from.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/shared_examples/wp_item_findable_found_from.rb b/spec/shared_examples/wp_item_findable_found_from.rb index 82edcf73..14ea7388 100644 --- a/spec/shared_examples/wp_item_findable_found_from.rb +++ b/spec/shared_examples/wp_item_findable_found_from.rb @@ -7,12 +7,6 @@ shared_examples 'WpItem::Findable#Found_From=' do subject.found_from = @method expect(subject.found_from).to eq @expected end - context 'when the pattern is not found' do - it 'returns nil' do - @method = 'I_do_not_match' - @expected = nil - end - end it 'replaces _ by space' do @method = 'find_from_some_detection_method'