summaryrefslogtreecommitdiff
path: root/spec/hosts/with_lens_noaugeas_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/hosts/with_lens_noaugeas_spec.rb')
-rw-r--r--spec/hosts/with_lens_noaugeas_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/hosts/with_lens_noaugeas_spec.rb b/spec/hosts/with_lens_noaugeas_spec.rb
index b26563b..7786918 100644
--- a/spec/hosts/with_lens_noaugeas_spec.rb
+++ b/spec/hosts/with_lens_noaugeas_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe 'with_lens_noaugeas' do
it 'should error' do
expect {
- should contain_file('/usr/share/augeas/lenses/foo.aug')
+ is_expected.to contain_file('/usr/share/augeas/lenses/foo.aug')
}.to raise_error(Puppet::Error, /You must declare the augeas class/)
end
end