diff --git a/.travis.yml b/.travis.yml index 9d96add6c3..cb914c421d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,21 +10,23 @@ script: - "rake spec SPEC_OPTS='--format documentation'" env: - PUPPET_VERSION="~> 2.7.0" - - PUPPET_VERSION="~> 3.0.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.3.0" + - PUPPET_VERSION="~> 3.4.0" matrix: exclude: - rvm: 1.9.3 env: PUPPET_VERSION="~> 2.7.0" + gemfile: .gemfile - rvm: 2.0.0 env: PUPPET_VERSION="~> 2.7.0" - - rvm: 2.0.0 - env: PUPPET_VERSION="~> 3.0.0" + gemfile: .gemfile - rvm: 2.0.0 env: PUPPET_VERSION="~> 3.1.0" + gemfile: .gemfile gemfile: .gemfile notifications: email: - james@lovedthanlost.net + diff --git a/spec/defines/sensu_check_spec.rb b/spec/defines/sensu_check_spec.rb index f3e38fc37f..ad0b97771f 100644 --- a/spec/defines/sensu_check_spec.rb +++ b/spec/defines/sensu_check_spec.rb @@ -9,9 +9,9 @@ it { should contain_sensu_check('mycheck').with( 'command' => '/etc/sensu/somecommand.rb', - 'handlers' => [], + 'handlers' => '', 'interval' => '60', - 'subscribers' => [] + 'subscribers' => '' ) } end @@ -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') }