Add tests for new feature

This commit is contained in:
Richard Pijnenburg 2015-07-16 15:56:09 +02:00
parent c5a207416a
commit d0704e526a
9 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,2 @@
---
- host: test-kitchen

View file

@ -0,0 +1,22 @@
require 'spec_helper'
context "basic tests" do
describe user('elasticsearch') do
it { should exist }
end
describe service('elasticsearch') do
it { should be_running }
end
describe package('elasticsearch') do
it { should be_installed }
end
describe file('/etc/elasticsearch/elasticsearch.yml') do
it { should be_file }
end
end

View file

@ -0,0 +1,2 @@
require 'serverspec'
set :backend, :exec