fix most deprecations in the specs (still some left)

This commit is contained in:
Régis Hanol
2014-09-25 17:44:48 +02:00
parent dd5872eecb
commit de76b512c1
121 changed files with 859 additions and 856 deletions

View File

@@ -13,11 +13,11 @@ describe ImageSizer do
end
it 'returns nil if the width is nil' do
ImageSizer.resize(nil, 100).should be_nil
ImageSizer.resize(nil, 100).should == nil
end
it 'returns nil if the height is nil' do
ImageSizer.resize(100, nil).should be_nil
ImageSizer.resize(100, nil).should == nil
end
it 'works with string parameters' do