Script tests
This commit is contained in:
parent
1daf8eb379
commit
1739cc8595
4 changed files with 11 additions and 4 deletions
|
|
@ -18,6 +18,11 @@ context "basic tests" do
|
|||
it { should be_file }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/node1/scripts') do
|
||||
it { should be_directory }
|
||||
it { should be_owned_by 'elasticsearch' }
|
||||
end
|
||||
|
||||
describe 'Node listening' do
|
||||
it 'listening in port 9200' do
|
||||
expect(port 9200).to be_listening
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue