Rspec 3.0 support

This commit is contained in:
erwanlr
2014-06-02 22:06:49 +02:00
parent c12b1d0670
commit c8c126d444
55 changed files with 338 additions and 336 deletions

View File

@@ -5,7 +5,7 @@ shared_examples 'WpItem::Findable#Found_From=' do
describe '#found_from=' do
after do
subject.found_from = @method
subject.found_from.should == @expected
expect(subject.found_from).to eq @expected
end
context 'when the pattern is not found' do
it 'returns nil' do