From 9275e1dfbfbb5cdeeb72ca429a5323c1d471af39 Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Thu, 3 Jan 2019 14:41:53 +0100 Subject: Make RBAC enabled default for new clusters Many changes were also made to tests that expected this to default to false. --- spec/models/clusters/applications/helm_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/models/clusters/applications/helm_spec.rb') diff --git a/spec/models/clusters/applications/helm_spec.rb b/spec/models/clusters/applications/helm_spec.rb index 2c37cd20ecc..64f6d9c8bb4 100644 --- a/spec/models/clusters/applications/helm_spec.rb +++ b/spec/models/clusters/applications/helm_spec.rb @@ -49,16 +49,16 @@ describe Clusters::Applications::Helm do end describe 'rbac' do - context 'non rbac cluster' do - it { expect(subject).not_to be_rbac } + context 'rbac cluster' do + it { expect(subject).to be_rbac } end - context 'rbac cluster' do + context 'non rbac cluster' do before do - helm.cluster.platform_kubernetes.rbac! + helm.cluster.platform_kubernetes.abac! end - it { expect(subject).to be_rbac } + it { expect(subject).not_to be_rbac } end end end -- cgit v1.2.1