rspec fixed

This commit is contained in:
Christian Mehlmauer
2016-05-31 15:23:34 +02:00
parent e1b4b5e8e5
commit 72c2c1992b

View File

@@ -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'