Skip to content

Commit

Permalink
fix trailing comma for 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Jan 7, 2014
1 parent 0498337 commit 1ace4e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions spec/classes/sensu_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
let(:params) { { :client => true } }
it { should contain_service('sensu-client').with(
:ensure => 'running',
:enable => true,
:enable => true
) }
end # default

context 'not managing services' do
let(:params) { {
:client => true,
:manage_services => false,
:manage_services => false
} }
it { should_not contain_service('sensu-client') }
end # not managing service
Expand All @@ -86,14 +86,14 @@
let(:params) { { :client => false } }
it { should contain_service('sensu-client').with(
:ensure => 'stopped',
:enable => false,
:enable => false
) }
end # managing services

context 'no client, not managing services' do
let(:params) { {
:client => false,
:manage_services => false,
:manage_services => false
} }
it { should_not contain_service('sensu-client') }
end #no client, not managing services
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/sensu_package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
} }

it { should contain_package('sensu').with(
:ensure => '0.9.10',
:ensure => '0.9.10'
) }
end

Expand Down
2 changes: 1 addition & 1 deletion spec/classes/sensu_rabbitmq_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
:password => 'sensupass',
:vhost => '/myvhost',
:ssl_cert_chain => '/etc/sensu/ssl/cert.pem',
:ssl_private_key => '/etc/sensu/ssl/key.pem',
:ssl_private_key => '/etc/sensu/ssl/key.pem'
) }
end # when using key in puppet

Expand Down
4 changes: 2 additions & 2 deletions spec/classes/sensu_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

it { should contain_service('sensu-server').with(
:ensure => 'stopped',
:enable => false,
:enable => false
) }
end # without server

Expand All @@ -16,7 +16,7 @@

it { should contain_service('sensu-server').with(
:ensure => 'running',
:enable => true,
:enable => true
) }
end # with server

Expand Down

0 comments on commit 1ace4e8

Please sign in to comment.