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

Simplify error message checking

parent eefe7440
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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