diff options
author | varac <varacanero@zeromail.org> | 2016-06-09 17:33:06 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-06-14 12:05:18 +0200 |
commit | df16f0bae5f12aae680ea8dcdec0befd27e66e2d (patch) | |
tree | e2b1af75fbb9ba1e7369cf9739a3f48105ffe704 /puppet/modules/ntp/spec/system/basic_spec.rb | |
parent | a86a9bbaa31c0859abf0b7f8c49f58b0a68ad134 (diff) |
git subrepo clone https://leap.se/git/puppet_ntp puppet/modules/ntp
subrepo:
subdir: "puppet/modules/ntp"
merged: "8a554ab"
upstream:
origin: "https://leap.se/git/puppet_ntp"
branch: "master"
commit: "8a554ab"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "cb2995b"
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 |