52e6aa49c7
This adds some really basic system tests so that we can test that various refactorings work correctly and make life easier for you before submitting.
13 lines
452 B
Ruby
13 lines
452 B
Ruby
require 'spec_helper_system'
|
|
|
|
# Here we put the more basic fundamental tests, ultra obvious stuff.
|
|
describe "basic tests:" do
|
|
context 'make sure we have copied the module across' do
|
|
# No point diagnosing any more if the module wasn't copied properly
|
|
context shell 'ls /etc/puppet/modules/nginx' do
|
|
its(:stdout) { should =~ /Modulefile/ }
|
|
its(:stderr) { should be_empty }
|
|
its(:exit_code) { should be_zero }
|
|
end
|
|
end
|
|
end
|