diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 03:06:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 03:06:28 +0000 |
commit | ee97c0d1a2dd452829d2cf6ec150045536bd74d5 (patch) | |
tree | 95d2551999b44d70842e156877d1d71145baba9f /spec/lib/gitlab/lets_encrypt_spec.rb | |
parent | 308146dc398fd4c13453048105498018459e0985 (diff) | |
download | gitlab-ce-ee97c0d1a2dd452829d2cf6ec150045536bd74d5.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/lets_encrypt_spec.rb')
-rw-r--r-- | spec/lib/gitlab/lets_encrypt_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/lib/gitlab/lets_encrypt_spec.rb b/spec/lib/gitlab/lets_encrypt_spec.rb index 65aea0937f1..2229393fb32 100644 --- a/spec/lib/gitlab/lets_encrypt_spec.rb +++ b/spec/lib/gitlab/lets_encrypt_spec.rb @@ -24,4 +24,16 @@ describe ::Gitlab::LetsEncrypt do it { is_expected.to eq(false) } end end + + describe '.terms_of_service_url' do + before do + stub_lets_encrypt_client + end + + subject { described_class.terms_of_service_url } + + it 'returns the url' do + is_expected.to eq("https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf") + end + end end |