From aa59d92c44f8c3b6eaeddcefe555ddea7373d356 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 18 Apr 2019 13:45:39 +0200 Subject: Rename gitlab-ci-multi-runner to gitlab-runner --- spec/classes/gitlab_ci_multi_runner_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3