script fixes

This commit is contained in:
Dale McDiarmid 2015-11-25 18:31:03 +00:00
parent 1739cc8595
commit 4ef7436143
7 changed files with 11 additions and 10 deletions

View file

@ -23,6 +23,11 @@ context "basic tests" do
it { should be_owned_by 'elasticsearch' }
end
describe file('/etc/elasticsearch/node1/scripts/calculate-score.groovy') do
it { should be_file }
it { should be_owned_by 'elasticsearch' }
end
describe 'Node listening' do
it 'listening in port 9200' do
expect(port 9200).to be_listening