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 'WpTimthumb::Existable' do
describe 'exists_from_response?' do
after do
response = Typhoeus::Response.new(@resp_opt)
subject.send(:exists_from_response?, response).should == @expected
expect(subject.send(:exists_from_response?, response)).to eq @expected
end
context 'when the status is not a 400' do