Skip to content

Commit

Permalink
regex fixes in rspec for ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dorman committed Aug 8, 2014
1 parent 7f5a21f commit 2b65fd5
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 @@ -334,7 +334,7 @@
it 'should set ssl options to specified values' do
contain_file('rabbitmq.config').with({
'content' => %r|ssl_listeners, \[3141\].*
ssl_options, \[{cacertfile,"/path/to/cacert".*
ssl_options, \[\{cacertfile,"/path/to/cacert".*
certfile="/path/to/cert".*
keyfile,"/path/to/key|,
})
Expand All @@ -355,7 +355,7 @@
contain_file('rabbitmq.config').with({
'content' => %r|tcp_listeners, \[\].*
ssl_listeners, \[3141\].*
ssl_options, \[{cacertfile,"/path/to/cacert".*
ssl_options, \[\{cacertfile,"/path/to/cacert".*
certfile="/path/to/cert".*
keyfile,"/path/to/key|,
})
Expand Down

0 comments on commit 2b65fd5

Please sign in to comment.