diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-04-26 11:08:31 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-04-26 11:08:31 +0000 |
commit | 6066b61acbb65f258d90c348795eec6e28958377 (patch) | |
tree | 3573fd35860a04031f91e24b1bec62d5f042724b /spec/models | |
parent | 61438335d8712fcb8eb4564ef206cde13893544f (diff) | |
parent | 68dae77b05986c25b6651c0479d6cff791d2154d (diff) | |
download | gitlab-ce-6066b61acbb65f258d90c348795eec6e28958377.tar.gz |
Merge branch 'use-constant-for-helm-runner-check' into 'master'
Use constants for asserstion for helm chart test
See merge request gitlab-org/gitlab-ce!27629
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/clusters/applications/runner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/clusters/applications/runner_spec.rb b/spec/models/clusters/applications/runner_spec.rb index de406211a5b..b66acf13135 100644 --- a/spec/models/clusters/applications/runner_spec.rb +++ b/spec/models/clusters/applications/runner_spec.rb @@ -24,7 +24,7 @@ describe Clusters::Applications::Runner do it 'is initialized with 4 arguments' do expect(subject.name).to eq('runner') expect(subject.chart).to eq('runner/gitlab-runner') - expect(subject.version).to eq('0.4.0') + expect(subject.version).to eq(Clusters::Applications::Runner::VERSION) expect(subject).to be_rbac expect(subject.repository).to eq('https://charts.gitlab.io') expect(subject.files).to eq(gitlab_runner.files) @@ -42,7 +42,7 @@ describe Clusters::Applications::Runner do let(:gitlab_runner) { create(:clusters_applications_runner, :errored, runner: ci_runner, version: '0.1.13') } it 'is initialized with the locked version' do - expect(subject.version).to eq('0.4.0') + expect(subject.version).to eq(Clusters::Applications::Runner::VERSION) end end end |