diff options
Diffstat (limited to 'spec/support/shared_examples')
-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 |