Skip to content

Commit

Permalink
Merge branch 'class_redesign' into repo_optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Feb 25, 2013
2 parents 402c846 + 62bb535 commit 09ab3f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/classes/sensu_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
let(:facts) { { :fqdn => 'myhost.domain.com', :ipaddress => '1.2.3.4' } }

it { should contain_class('sensu::rabbitmq').with(
'notify_services' => ''
'notify_services' => []
)}
end

Expand Down
2 changes: 1 addition & 1 deletion spec/defines/sensu_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
context 'absent' do
let(:facts) { { 'Class[sensu::service::server]' => true } }
let(:params) { { :type => 'pipe', :command => '/etc/sensu/mycommand.rb', :ensure => 'absent' } }
it { should contain_sensu_handler_config('myhandler').with_ensure('absent').with_notify('') }
it { should contain_sensu_handler_config('myhandler').with_ensure('absent').with_notify([]) }

end

Expand Down

0 comments on commit 09ab3f3

Please sign in to comment.