diff options
Diffstat (limited to 'spec/classes/gitlab_ci_multi_runner_spec.rb')
-rw-r--r-- | spec/classes/gitlab_ci_multi_runner_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/classes/gitlab_ci_multi_runner_spec.rb b/spec/classes/gitlab_ci_multi_runner_spec.rb index 2092e9f..b9261c0 100644 --- a/spec/classes/gitlab_ci_multi_runner_spec.rb +++ b/spec/classes/gitlab_ci_multi_runner_spec.rb @@ -25,17 +25,17 @@ describe 'gitlab_ci_multi_runner', :type => :class do it { should contain_class('gitlab_ci_multi_runner::service').that_subscribes_to('gitlab_ci_multi_runner::config') } it { should contain_class('apt') } - it { should contain_package('apt-transport-https').that_comes_before('Apt::Source[gitlab-ci-multi-runner]').that_comes_before('Package[gitlab-ci-multi-runner]') } - it { should contain_apt__source('gitlab-ci-multi-runner').with_location('https://packages.gitlab.com/runner/gitlab-ci-multi-runner/debian/') } + it { should contain_package('apt-transport-https').that_comes_before('Apt::Source[gitlab-runner]').that_comes_before('Package[gitlab-runner]') } + it { should contain_apt__source('gitlab-runner').with_location('https://packages.gitlab.com/runner/gitlab-runner/debian/') } it { should contain_service('gitlab-runner') } - it { should contain_package('gitlab-ci-multi-runner').with_name('gitlab-ci-multi-runner').with_ensure('present') } + it { should contain_package('gitlab-runner').with_name('gitlab-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') } + it { should_not contain_service('gitlab-runner') } end end |