Skip to content

Commit

Permalink
update test for empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Dec 20, 2013
1 parent b00ed2d commit c78aa33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/defines/sensu_check_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

it { should contain_sensu_check('mycheck').with(
'command' => '/etc/sensu/somecommand.rb',
'handlers' => [],
'handlers' => '',
'interval' => '60',
'subscribers' => []
'subscribers' => ''
) }

end
Expand Down Expand Up @@ -56,9 +56,9 @@

it { should contain_sensu_check('mycheck_foobar').with(
'command' => '/etc/sensu/somecommand.rb',
'handlers' => [],
'handlers' => '',
'interval' => '60',
'subscribers' => []
'subscribers' => ''
) }

it { should contain_file('/etc/sensu/conf.d/checks/mycheck_foobar.json') }
Expand Down

0 comments on commit c78aa33

Please sign in to comment.