diff --git a/spec/inputs/elasticsearch_ssl_spec.rb b/spec/inputs/elasticsearch_ssl_spec.rb index 8316985..4ef3ac2 100644 --- a/spec/inputs/elasticsearch_ssl_spec.rb +++ b/spec/inputs/elasticsearch_ssl_spec.rb @@ -123,7 +123,7 @@ it "should pass the flag to the ES client" do expect(::Elasticsearch::Client).to receive(:new) do |args| - expect(args[:ssl]).to match hash_including(:ssl => true, :verify => :strict) + expect(args[:ssl]).to match hash_including(:ssl => true, :verify => :default) end.and_return(es_client_double) subject.register