Commit 51b7f852 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Simplify error message checking

parent eefe7440
......@@ -20,7 +20,7 @@ describe 'postfix::virtual' do
it 'should fail' do
expect { contain_augeas('Postfix virtual - foo')
}.to raise_error(Puppet::Error, /Must pass destination/)
}.to raise_error(Puppet::Error, /destination/)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment