summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/lets_encrypt
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 12:13:46 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 12:13:46 +0000
commit9796aa22cd601f03101402540f41a05ad71828e5 (patch)
treeaf5934ea6156c4b31fd67bb7f5bd3a3de86b35fd /spec/lib/gitlab/lets_encrypt
parentf7e83434e312ca6cf598c6d815fe32dc200e3056 (diff)
downloadgitlab-ce-9796aa22cd601f03101402540f41a05ad71828e5.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/lets_encrypt')
-rw-r--r--spec/lib/gitlab/lets_encrypt/client_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/lets_encrypt/client_spec.rb b/spec/lib/gitlab/lets_encrypt/client_spec.rb
index 54b9bd3bfba..f1284318687 100644
--- a/spec/lib/gitlab/lets_encrypt/client_spec.rb
+++ b/spec/lib/gitlab/lets_encrypt/client_spec.rb
@@ -73,7 +73,7 @@ RSpec.describe ::Gitlab::LetsEncrypt::Client do
subject(:new_order) { client.new_order('example.com') }
before do
- order_double = instance_double('Acme::Order')
+ order_double = double('Acme::Order')
allow(stub_client).to receive(:new_order).and_return(order_double)
end
@@ -107,7 +107,7 @@ RSpec.describe ::Gitlab::LetsEncrypt::Client do
subject { client.load_challenge(url) }
before do
- acme_challenge = instance_double('Acme::Client::Resources::Challenge')
+ acme_challenge = double('Acme::Client::Resources::Challenge')
allow(stub_client).to receive(:challenge).with(url: url).and_return(acme_challenge)
end