Fix curl_json/json_curl typo

This commit is contained in:
Michael Russell 2018-06-19 17:17:11 +02:00
parent c8197ee82a
commit f53e639797
No known key found for this signature in database
GPG key ID: A90C1696496085FE

View file

@ -53,7 +53,7 @@ shared_examples 'multi::init' do |vars|
#test we started on the correct port was used for master
describe 'master started' do
it 'master node should be running', :retry => 3, :retry_wait => 10 do
expect(json_curl('http://localhost:9200')['name']).to eq('localhost-node1')
expect(curl_json('http://localhost:9200')['name']).to eq('localhost-node1')
expect(command.exit_status).to eq(0)
end
end
@ -139,4 +139,4 @@ shared_examples 'multi::init' do |vars|
it { should be_owned_by 'elasticsearch' }
end
end
end
end