From 75e718f207083615252b9ef047c4c466d9fcb5a0 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Mon, 8 Jan 2018 01:27:19 +0000 Subject: Generate HTTP URLs for custom Pages domains when appropriate --- spec/models/pages_domain_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/models/pages_domain_spec.rb') diff --git a/spec/models/pages_domain_spec.rb b/spec/models/pages_domain_spec.rb index 7d835511dfb..9d12f96c642 100644 --- a/spec/models/pages_domain_spec.rb +++ b/spec/models/pages_domain_spec.rb @@ -68,7 +68,7 @@ describe PagesDomain do subject { domain.url } context 'without the certificate' do - let(:domain) { build(:pages_domain) } + let(:domain) { build(:pages_domain, certificate: '') } it { is_expected.to eq('http://my.domain.com') } end -- cgit v1.2.1