diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-21 12:16:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-21 12:16:22 +0000 |
commit | cb6f08be88608936fbeafa535cf725e1eaa3ffeb (patch) | |
tree | 79a5474206546033b6fe428a0944a4b49c22a42e /spec/support | |
parent | 62b0d21a48b2adbfd4ac63159fe0efac73ada922 (diff) | |
download | gitlab-ce-cb6f08be88608936fbeafa535cf725e1eaa3ffeb.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared_examples/models/clusters/elastic_stack_client_shared.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/models/clusters/elastic_stack_client_shared.rb b/spec/support/shared_examples/models/clusters/elastic_stack_client_shared.rb index d3ce916cd64..744262d79ea 100644 --- a/spec/support/shared_examples/models/clusters/elastic_stack_client_shared.rb +++ b/spec/support/shared_examples/models/clusters/elastic_stack_client_shared.rb @@ -47,7 +47,7 @@ RSpec.shared_examples 'cluster-based #elasticsearch_client' do |factory| it 'copies proxy_url, options and headers from kube client to elasticsearch_client' do expect(Elasticsearch::Client) .to(receive(:new)) - .with(url: a_valid_url) + .with(url: a_valid_url, adapter: :net_http) .and_call_original client = subject.elasticsearch_client |