summaryrefslogtreecommitdiff
path: root/spec/models/clusters/applications/runner_spec.rb
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2019-01-03 14:41:53 +0100
committerDylan Griffith <dyl.griffith@gmail.com>2019-01-04 11:49:13 +0100
commit9275e1dfbfbb5cdeeb72ca429a5323c1d471af39 (patch)
tree5f761d6fc3f03ed29af8e35f3da81fb82f126129 /spec/models/clusters/applications/runner_spec.rb
parent147f740730b63dbdd4c457bb3a783510d225d73b (diff)
downloadgitlab-ce-9275e1dfbfbb5cdeeb72ca429a5323c1d471af39.tar.gz
Make RBAC enabled default for new clusters
Many changes were also made to tests that expected this to default to false.
Diffstat (limited to 'spec/models/clusters/applications/runner_spec.rb')
-rw-r--r--spec/models/clusters/applications/runner_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/clusters/applications/runner_spec.rb b/spec/models/clusters/applications/runner_spec.rb
index cae23daac8c..3d0735c6d0b 100644
--- a/spec/models/clusters/applications/runner_spec.rb
+++ b/spec/models/clusters/applications/runner_spec.rb
@@ -47,17 +47,17 @@ describe Clusters::Applications::Runner do
expect(subject.name).to eq('runner')
expect(subject.chart).to eq('runner/gitlab-runner')
expect(subject.version).to eq('0.1.43')
- expect(subject).not_to be_rbac
+ expect(subject).to be_rbac
expect(subject.repository).to eq('https://charts.gitlab.io')
expect(subject.files).to eq(gitlab_runner.files)
end
- context 'on a rbac enabled cluster' do
+ context 'on a non rbac enabled cluster' do
before do
- gitlab_runner.cluster.platform_kubernetes.rbac!
+ gitlab_runner.cluster.platform_kubernetes.abac!
end
- it { is_expected.to be_rbac }
+ it { is_expected.not_to be_rbac }
end
context 'application failed to install previously' do