diff options
author | Nick Thomas <nick@gitlab.com> | 2019-06-06 16:57:50 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-06-06 16:57:50 +0300 |
commit | 10dcfac1f17cffbbc542d47bdf27b682ab453dd2 (patch) | |
tree | 046df7d2929558adae980f2c362253bf499d0f46 /spec/models/pages_domain_spec.rb | |
parent | 64c6987dfdcd5cb78b4a192a4632b227eabe801f (diff) |
Revert "Merge branch 'pages-domain_ssl-valid-period' into 'master'"
This reverts merge request !28743
Diffstat (limited to 'spec/models/pages_domain_spec.rb')
-rw-r--r-- | spec/models/pages_domain_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/models/pages_domain_spec.rb b/spec/models/pages_domain_spec.rb index fdc81359d34..ec4d4517f82 100644 --- a/spec/models/pages_domain_spec.rb +++ b/spec/models/pages_domain_spec.rb @@ -81,17 +81,6 @@ describe PagesDomain do end end - describe 'when certificate is specified' do - let(:domain) { build(:pages_domain) } - - it 'saves validity time' do - domain.save - - expect(domain.certificate_valid_not_before).to be_like_time(Time.parse("2016-02-12 14:32:00 UTC")) - expect(domain.certificate_valid_not_after).to be_like_time(Time.parse("2020-04-12 14:32:00 UTC")) - end - end - describe 'validate certificate' do subject { domain } |