Fix curl_json/json_curl typo
This commit is contained in:
parent
c8197ee82a
commit
f53e639797
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue