summaryrefslogtreecommitdiff
path: root/spec/models/pages_domain_spec.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-01-08 01:27:19 +0000
committerNick Thomas <nick@gitlab.com>2018-01-08 01:30:05 +0000
commit75e718f207083615252b9ef047c4c466d9fcb5a0 (patch)
treeb031eb6cffe3343d5cb1310b95307d9a06d3e3af /spec/models/pages_domain_spec.rb
parent2c66b942bde756554b22d8b54c586fe45f544b0e (diff)
downloadgitlab-ce-75e718f207083615252b9ef047c4c466d9fcb5a0.tar.gz
Generate HTTP URLs for custom Pages domains when appropriate
Diffstat (limited to 'spec/models/pages_domain_spec.rb')
-rw-r--r--spec/models/pages_domain_spec.rb2
1 files changed, 1 insertions, 1 deletions
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