Skip to content
Snippets Groups Projects
Commit 51b7f852 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Simplify error message checking

parent eefe7440
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ describe 'postfix::virtual' do ...@@ -20,7 +20,7 @@ describe 'postfix::virtual' do
it 'should fail' do it 'should fail' do
expect { expect {
is_expected.to contain_augeas('Postfix virtual - foo') is_expected.to contain_augeas('Postfix virtual - foo')
}.to raise_error(Puppet::Error, /Must pass destination/) }.to raise_error(Puppet::Error, /destination/)
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment