DEV: merge 2 specs

No need to run 2 specs here when 1 will do
This commit is contained in:
Sam Saffron 2020-08-03 16:53:37 +10:00
parent 105d560177
commit 3f054d3350
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 0 additions and 3 deletions

View File

@ -332,10 +332,7 @@ describe OptimizedImage do
expect(oi.height).to eq(200)
expect(oi.url).to eq("//#{SiteSetting.s3_upload_bucket}.s3.dualstack.us-east-1.amazonaws.com#{optimized_path}")
expect(oi.filesize).to be > 0
end
it "allows to recalculate the filesize" do
oi = OptimizedImage.create_for(s3_upload, 100, 200)
oi.filesize = nil
stub_request(