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