diff options
author | varac <varacanero@zeromail.org> | 2016-11-02 21:26:14 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-11-02 21:34:36 +0100 |
commit | aeb3bdba1c66f245e9eda46a564a956252cc609b (patch) | |
tree | 3b7fe38e4b03105b5aef4625abe95d76a7c6593b /spec/classes | |
parent | d4c87772bd31821c91f9ba149b5dc06959bc7155 (diff) |
Compile test, test apt::conf
Diffstat (limited to 'spec/classes')
-rw-r--r-- | spec/classes/init_spec.rb | 16 |
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 |