Skip to content

Commit

Permalink
Merge pull request #335 from dalees/bug/fix-test-failures
Browse files Browse the repository at this point in the history
Fixing test failures due to regex matching string start.
  • Loading branch information
jonnytdevops committed Apr 1, 2015
2 parents f0ad2fe + 3048920 commit 3249d07
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 3249d07

Please sign in to comment.