From 30489201d6611e744701e5dbac9491b88ea0095a Mon Sep 17 00:00:00 2001 From: Dale Smith Date: Wed, 1 Apr 2015 15:56:56 +0100 Subject: [PATCH] Fixing test failures due to regex matching string start. --- spec/classes/rabbitmq_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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