diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/.rspec | 6 | ||||
-rw-r--r-- | spec/fixtures/manifests/site.pp | 6 | ||||
-rw-r--r-- | spec/spec_helper.rb | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/spec/.rspec b/spec/.rspec new file mode 100644 index 0000000..91cd642 --- /dev/null +++ b/spec/.rspec @@ -0,0 +1,6 @@ +--format +s +--colour +--loadby +mtime +--backtrace diff --git a/spec/fixtures/manifests/site.pp b/spec/fixtures/manifests/site.pp new file mode 100644 index 0000000..0380291 --- /dev/null +++ b/spec/fixtures/manifests/site.pp @@ -0,0 +1,6 @@ +# Fake $::concat_basedir fact +$concat_basedir = '/var/lib/puppet/concat' + +# Default node to test defines +node default { +} diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..4edc964 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,4 @@ +require 'mocha' +require 'rspec-puppet' +require 'puppetlabs_spec_helper/module_spec_helper' + |