test/integration/transport_test.rb in elasticsearch-transport-1.0.6 vs test/integration/transport_test.rb in elasticsearch-transport-1.0.7
- old
+ new
@@ -63,10 +63,10 @@
client = Elasticsearch::Transport::Client.new transport: transport
response = client.perform_request 'GET', ''
assert_respond_to(response.body, :to_hash)
- assert_equal 200, response.body['status']
+ assert_not_nil response.body['cluster_name']
assert_equal 'application/json', response.headers['content-type']
end unless JRUBY
end
end