mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
fix the build
This commit is contained in:
@ -71,7 +71,7 @@ describe OptimizedImage do
|
||||
end
|
||||
|
||||
it "downloads a copy of the original image" do
|
||||
Tempfile.any_instance.expects(:close!).twice
|
||||
Tempfile.any_instance.expects(:close!)
|
||||
store.expects(:download).with(upload).returns(Tempfile.new(["discourse-external", ".png"]))
|
||||
OptimizedImage.create_for(upload, 100, 200)
|
||||
end
|
||||
|
Reference in New Issue
Block a user