mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix the build
This commit is contained in:
parent
e0703dbbc7
commit
e36272cb68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user