summaryrefslogtreecommitdiff
path: root/spec/hosts/wrong_os_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/hosts/wrong_os_spec.rb')
-rw-r--r--spec/hosts/wrong_os_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/hosts/wrong_os_spec.rb b/spec/hosts/wrong_os_spec.rb
index 4180e81..98fb93f 100644
--- a/spec/hosts/wrong_os_spec.rb
+++ b/spec/hosts/wrong_os_spec.rb
@@ -10,6 +10,6 @@ describe 'wrong_os' do
} }
it 'should fail' do
- expect { should contain_package('ruby-augeas') }.to raise_error(Puppet::Error, /Unsupported OS family/)
+ expect { is_expected.to contain_package('ruby-augeas') }.to raise_error(Puppet::Error, /Unsupported OS family/)
end
end