summaryrefslogtreecommitdiff
path: root/spec/classes/gitlab_ci_multi_runner_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes/gitlab_ci_multi_runner_spec.rb')
-rw-r--r--spec/classes/gitlab_ci_multi_runner_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/classes/gitlab_ci_multi_runner_spec.rb b/spec/classes/gitlab_ci_multi_runner_spec.rb
index f23ab90..2092e9f 100644
--- a/spec/classes/gitlab_ci_multi_runner_spec.rb
+++ b/spec/classes/gitlab_ci_multi_runner_spec.rb
@@ -32,6 +32,12 @@ describe 'gitlab_ci_multi_runner', :type => :class do
it { should contain_package('gitlab-ci-multi-runner').with_name('gitlab-ci-multi-runner').with_ensure('present') }
it { should contain_package('apt-transport-https').with_ensure('present') }
+
+ context 'with service_enable set to false' do
+ let(:params) { {'service_enable' => false} }
+ it { should_not contain_service('gitlab-ci-multi-runner') }
+ end
+
end
end
end