DEV: Fix build.

This commit is contained in:
Bianca Nenciu 2018-11-23 17:34:50 +02:00
parent 172b3bf4d3
commit c38f7b240b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ describe UserAvatarsController do
stub_request(:get, "http://cdn.com/something/else").to_return(body: 'image') stub_request(:get, "http://cdn.com/something/else").to_return(body: 'image')
GlobalSetting.expects(:cdn_url).returns("http://awesome.com/boom") GlobalSetting.stubs(:cdn_url).returns("http://awesome.com/boom")
upload = Fabricate(:upload, url: "//test.s3.dualstack.us-east-1.amazonaws.com/something") upload = Fabricate(:upload, url: "//test.s3.dualstack.us-east-1.amazonaws.com/something")