mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix most deprecations in the specs (still some left)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user