mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
@@ -24,6 +24,10 @@ describe ImageSizer do
|
||||
expect(ImageSizer.resize('100', '101')).to eq([100, 101])
|
||||
end
|
||||
|
||||
it 'returns nil if no width or height are provided' do
|
||||
expect(ImageSizer.resize).to eq(nil)
|
||||
end
|
||||
|
||||
describe 'when larger than the maximum width' do
|
||||
|
||||
before do
|
||||
|
||||
Reference in New Issue
Block a user