diff --git a/spec/classes/icinga2_testing_spec.rb b/spec/classes/icinga2_testing_spec.rb deleted file mode 100644 index 325258e0acb799df59edc072c0b9b433157968cc..0000000000000000000000000000000000000000 --- a/spec/classes/icinga2_testing_spec.rb +++ /dev/null @@ -1,40 +0,0 @@ -require 'spec_helper' - -describe 'icinga2_testing' do - - context 'on Debian with MySQL' do - - let :facts do - on_supported_os['debian-8-x86_64'].merge({ - :concat_basedir => '/tmp', - }) - end - - it { should compile.with_all_deps } - it { should contain_class('icinga2_testing') } - it { should contain_class('icinga2_testing::repo') } - - it { should contain_class('mysql::server') } - end - - context 'on Debian with PostgreSQL' do - - let :facts do - on_supported_os['debian-8-x86_64'].merge({ - :concat_basedir => '/tmp', - }) - end - let :params do - { - :ido_type => 'pgsql', - } - end - - it { should compile.with_all_deps } - it { should contain_class('icinga2_testing') } - it { should contain_class('icinga2_testing::repo') } - - it { should contain_class('postgresql::server') } - end - -end