We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2527999 commit daebc6cCopy full SHA for daebc6c
elasticsearch/spec/integration/client_integration_spec.rb
@@ -51,7 +51,7 @@
51
context 'Reports the right meta header' do
52
it 'Reports es service name and gem version' do
53
headers = client.transport.transport.connections.first.connection.headers
54
- expect(headers['x-elastic-client-meta']).to match /^es=#{Elasticsearch::VERSION}/
+ expect(headers['x-elastic-client-meta']).to match Elastic.client_meta_version
55
end
56
57
0 commit comments