mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Fix build.
This commit is contained in:
parent
56f98de7b2
commit
4d9481bf47
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ describe UserAvatarsController do
|
|||
SiteSetting.s3_upload_bucket = "test"
|
||||
SiteSetting.s3_cdn_url = "http://cdn.com"
|
||||
|
||||
stub_request(:head, "http://cdn.com/something/else")
|
||||
stub_request(:get, "http://cdn.com/something/else").to_return(body: 'image')
|
||||
|
||||
GlobalSetting.expects(:cdn_url).returns("http://awesome.com/boom")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue