DEV: Fix build.

This commit is contained in:
Bianca Nenciu 2018-11-23 17:34:50 +02:00
parent 172b3bf4d3
commit c38f7b240b

View File

@ -75,7 +75,7 @@ describe UserAvatarsController do
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")