Skip to content

Commit daebc6c

Browse files
committed
[Gem] Updates meta header test
1 parent 2527999 commit daebc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/spec/integration/client_integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
context 'Reports the right meta header' do
5252
it 'Reports es service name and gem version' do
5353
headers = client.transport.transport.connections.first.connection.headers
54-
expect(headers['x-elastic-client-meta']).to match /^es=#{Elasticsearch::VERSION}/
54+
expect(headers['x-elastic-client-meta']).to match Elastic.client_meta_version
5555
end
5656
end
5757
end

0 commit comments

Comments
 (0)