diff --git a/spec/classes/rabbitmq_spec.rb b/spec/classes/rabbitmq_spec.rb index 1ff5fe0c9..4af73dd22 100644 --- a/spec/classes/rabbitmq_spec.rb +++ b/spec/classes/rabbitmq_spec.rb @@ -315,7 +315,7 @@ describe 'with defaults' do it 'fails' do - expect { catalogue }.to raise_error(Puppet::Error, /^You must set the \$erlang_cookie value/) + expect { catalogue }.to raise_error(Puppet::Error, /You must set the \$erlang_cookie value/) end end @@ -637,7 +637,7 @@ } } it 'fails' do - expect { catalogue }.to raise_error(Puppet::Error, /^\$ssl_versions requires that \$ssl => true/) + expect { catalogue }.to raise_error(Puppet::Error, /\$ssl_versions requires that \$ssl => true/) end end