mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 13:53:44 +08:00
no more protocol-less CDN urls
This commit is contained in:
parent
59640bae3b
commit
e0a2346b92
|
@ -3,7 +3,7 @@ require_dependency "category"
|
|||
|
||||
describe BasicCategorySerializer do
|
||||
|
||||
let(:cdn) { "//my.awesome.cdn" }
|
||||
let(:cdn) { "https://my.awesome.cdn" }
|
||||
let(:upload) { Fabricate(:upload) }
|
||||
let(:json) { BasicCategorySerializer.new(category, scope: Guardian.new, root: false).as_json }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user