aboutsummaryrefslogtreecommitdiff
path: root/spec/classes
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-11-03 01:13:30 +0100
committervarac <varacanero@zeromail.org>2016-11-03 01:22:17 +0100
commitf4af02ee7a6d4d071506642bec1401662d1da964 (patch)
tree35fc5cef2f4e66582525df1c555f44706dcfdf83 /spec/classes
parent039c63890c58b1d7bd637202fa5f86ff52b49ec1 (diff)
downloadpuppet-common-f4af02ee7a6d4d071506642bec1401662d1da964.tar.gz
puppet-common-f4af02ee7a6d4d071506642bec1401662d1da964.tar.bz2
Add rspec skeleton
Diffstat (limited to 'spec/classes')
-rw-r--r--spec/classes/module_dir_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/classes/module_dir_spec.rb b/spec/classes/module_dir_spec.rb
new file mode 100644
index 0000000..b33afc2
--- /dev/null
+++ b/spec/classes/module_dir_spec.rb
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+describe 'common::moduledir', :type => :class do
+ let :pre_condition do
+ 'class { "common::moduledir": }'
+ end
+ let(:facts) { {
+ :lsbdistid => 'Debian',
+ :osfamily => 'Debian',
+ :operatingsystem => 'Debian',
+ :debian_release => 'jessie',
+ :debian_codename => 'jessie',
+ :lsbdistcodename => 'jessie',
+ :virtual => 'physical',
+ :puppetversion => Puppet.version, } }
+ it { is_expected.to compile.with_all_deps }
+end