From 3f054d335047b48167290b0be7ea720e6c4fdeb2 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 3 Aug 2020 16:53:37 +1000 Subject: [PATCH] DEV: merge 2 specs No need to run 2 specs here when 1 will do --- spec/models/optimized_image_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/models/optimized_image_spec.rb b/spec/models/optimized_image_spec.rb index 27702902b33..d98162822d7 100644 --- a/spec/models/optimized_image_spec.rb +++ b/spec/models/optimized_image_spec.rb @@ -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(