diff options
author | Micah Anderson <micah@riseup.net> | 2013-06-14 16:04:51 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-06-14 16:06:58 -0400 |
commit | da0ce6473e4b3d65b60878c8cde62379222ee499 (patch) | |
tree | 987c42142c548ab1f3db7df9392bec306bd29f2f /spec/hosts/with_lens_noaugeas_spec.rb | |
parent | 4d57632afc0d9be88c4c9a30ee26599bdbefef00 (diff) | |
parent | 0c75e1584827e52c3af20d304a76111f37307c48 (diff) |
Merge remote-tracking branch 'camptocamp/master'
Conflicts:
README
manifests/debian.pp
manifests/files.pp
manifests/init.pp
manifests/lens.pp
manifests/redhat.pp
Diffstat (limited to 'spec/hosts/with_lens_noaugeas_spec.rb')
-rw-r--r-- | spec/hosts/with_lens_noaugeas_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/hosts/with_lens_noaugeas_spec.rb b/spec/hosts/with_lens_noaugeas_spec.rb new file mode 100644 index 0000000..b26563b --- /dev/null +++ b/spec/hosts/with_lens_noaugeas_spec.rb @@ -0,0 +1,9 @@ +require 'spec_helper' + +describe 'with_lens_noaugeas' do + it 'should error' do + expect { + should contain_file('/usr/share/augeas/lenses/foo.aug') + }.to raise_error(Puppet::Error, /You must declare the augeas class/) + end +end |