Skip to content

Commit

Permalink
passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamrah committed Oct 22, 2014
1 parent 835fc66 commit a6b2f80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class { 'rabbitmq':
* rabbitmq::params: Different configuration data for different systems.
* rabbitmq::service: Handles the rabbitmq service.
* rabbitmq::repo::apt: Handles apt repo for Debian systems.
* rabbitmq::repo::rhel: Handles yum repo for Redhat systems.
* rabbitmq::repo::rhel: Handles rpm repo for Redhat systems.

###Parameters

Expand Down
8 changes: 4 additions & 4 deletions spec/classes/rabbitmq_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') }

it 'should contain ldap parameters' do
verify_contents(subject, 'rabbitmq.config',
verify_contents(subject, 'rabbitmq.config',
['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}',
' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},',
' {servers, ["ldap.example.com"]},',
Expand All @@ -301,7 +301,7 @@
it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') }

it 'should contain ldap parameters' do
verify_contents(subject, 'rabbitmq.config',
verify_contents(subject, 'rabbitmq.config',
['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}',
' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},',
' {servers, ["ldap.example.com"]},',
Expand Down Expand Up @@ -460,7 +460,7 @@
it 'should set config variables' do
should contain_file('rabbitmq.config') \
.with_content(/\{inet_dist_listen_min, 9100\}/) \
.with_content(/\{inet_dist_listen_max, 9105\}/)
.with_content(/\{inet_dist_listen_max, 9105\}/)
end
end

Expand Down Expand Up @@ -564,7 +564,7 @@
should contain_package('rabbitmq-server').with(
'ensure' => 'installed',
'name' => 'rabbitmq-server',
'provider' => 'yum',
'provider' => 'rpm',
'source' => 'http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.3/rabbitmq-server-3.2.3-1.noarch.rpm'
)
end
Expand Down

0 comments on commit a6b2f80

Please sign in to comment.