no more protocol-less CDN urls

This commit is contained in:
Sam 2016-09-05 16:05:48 +10:00
parent 59640bae3b
commit e0a2346b92

View File

@ -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 }