diff options
author | Rafael Chicoli <rafaelchicoli@hotmail.com> | 2016-01-26 19:26:29 +0100 |
---|---|---|
committer | Rafael Chicoli <rafaelchicoli@hotmail.com> | 2016-01-27 21:41:14 +0100 |
commit | ecc63a0a28c362ddf4797d3be27a1660c1fa0d94 (patch) | |
tree | aafb0e90f979304287979e030de2d95dfeba0592 /spec/classes/example_spec.rb | |
parent | a89c460e0f630d778513a3b07a33f150b79d2aae (diff) |
fix all puppet-lint error messages
Diffstat (limited to 'spec/classes/example_spec.rb')
-rw-r--r-- | spec/classes/example_spec.rb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/spec/classes/example_spec.rb b/spec/classes/example_spec.rb deleted file mode 100644 index 7dc8942..0000000 --- a/spec/classes/example_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -require 'spec_helper' - -describe 'gitlab_ci_multi_runner' do - context 'supported operating systems' do - ['Debian', 'RedHat'].each do |osfamily| - describe "gitlab_ci_multi_runner class without any parameters on #{osfamily}" do - let(:params) {{ }} - let(:facts) {{ - :osfamily => osfamily, - }} - - it { should compile.with_all_deps } - - it { should contain_class('gitlab_ci_multi_runner::params') } - it { should contain_class('gitlab_ci_multi_runner::install').that_comes_before('gitlab_ci_multi_runner::config') } - it { should contain_class('gitlab_ci_multi_runner::config') } - it { should contain_class('gitlab_ci_multi_runner::service').that_subscribes_to('gitlab_ci_multi_runner::config') } - - it { should contain_service('gitlab_ci_multi_runner') } - it { should contain_package('gitlab_ci_multi_runner').with_ensure('present') } - end - end - end - - context 'unsupported operating system' do - describe 'gitlab_ci_multi_runner class without any parameters on Solaris/Nexenta' do - let(:facts) {{ - :osfamily => 'Solaris', - :operatingsystem => 'Nexenta', - }} - - it { expect { should contain_package('gitlab_ci_multi_runner') }.to raise_error(Puppet::Error, /Nexenta not supported/) } - end - end -end |