summaryrefslogtreecommitdiff
path: root/spec/classes
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-11-02 21:26:14 +0100
committervarac <varacanero@zeromail.org>2016-11-02 21:34:36 +0100
commitaeb3bdba1c66f245e9eda46a564a956252cc609b (patch)
tree3b7fe38e4b03105b5aef4625abe95d76a7c6593b /spec/classes
parentd4c87772bd31821c91f9ba149b5dc06959bc7155 (diff)
Compile test, test apt::conf
Diffstat (limited to 'spec/classes')
-rw-r--r--spec/classes/init_spec.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb
new file mode 100644
index 0000000..dfb7521
--- /dev/null
+++ b/spec/classes/init_spec.rb
@@ -0,0 +1,16 @@
+require 'spec_helper'
+
+describe 'apt', :type => :class do
+ let :pre_condition do
+ 'class { "apt": }'
+ end
+ let(:facts) { {
+ :lsbdistid => 'Debian',
+ :osfamily => 'Debian',
+ :operatingsystem => 'Debian',
+ :debian_release => 'jessie',
+ :lsbdistcodename => 'jessie',
+ :puppetversion => Puppet.version, } }
+ #it { is_expected.to compile.with_all_deps }
+ it { is_expected.to compile }
+end