diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
commit | 3ff2bbfa2bcf9d70e2df1e3e8c9336f18c2217b7 (patch) | |
tree | aa3e31b19b135fe224c9787ba388a663c59789e9 /puppet/modules/ntp/spec/system/basic_spec.rb | |
parent | 6affc72f829247fc78b637c27f47cf8bf6beafb7 (diff) | |
parent | b6b29da6f63d5d04f2d587dfa2227b1d6c9ecded (diff) |
Merge commit 'b6b29da6f63d5d04f2d587dfa2227b1d6c9ecded' as 'puppet/modules/ntp'
Diffstat (limited to 'puppet/modules/ntp/spec/system/basic_spec.rb')
-rw-r--r-- | puppet/modules/ntp/spec/system/basic_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/ntp/spec/system/basic_spec.rb b/puppet/modules/ntp/spec/system/basic_spec.rb new file mode 100644 index 00000000..7b717a04 --- /dev/null +++ b/puppet/modules/ntp/spec/system/basic_spec.rb @@ -0,0 +1,13 @@ +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/ntp' do + its(:stdout) { should =~ /Modulefile/ } + its(:stderr) { should be_empty } + its(:exit_code) { should be_zero } + end + end +end |