diff --git a/spec/classes/rabbitmq_spec.rb b/spec/classes/rabbitmq_spec.rb index 77fbd6e0d..f8aca8164 100644 --- a/spec/classes/rabbitmq_spec.rb +++ b/spec/classes/rabbitmq_spec.rb @@ -415,7 +415,7 @@ it 'should raise an error' do expect { should contain_file('rabbitmq.config') - }.to raise_error(Puppet::Error, /validate_bool/) + }.to raise_error(Puppet::Error, /is not a boolean/) end end