Skip to content

Commit

Permalink
Fixing test failures due to regex matching string start.
Browse files Browse the repository at this point in the history
  • Loading branch information
dalees committed Apr 1, 2015
1 parent f0ad2fe commit 3048920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/classes/rabbitmq_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3048920

Please sign in to comment.