Commit abad4ff0 authored by Dennis Tang's avatar Dennis Tang

remove focus on test

parent 7a5da502
...@@ -176,10 +176,7 @@ describe Projects::ClustersController do ...@@ -176,10 +176,7 @@ describe Projects::ClustersController do
cluster: { cluster: {
name: 'new-cluster', name: 'new-cluster',
provider_gcp_attributes: { provider_gcp_attributes: {
gcp_project_id: '111', gcp_project_id: '111'
zone: 'us-central1-a',
num_nodes: 3,
machine_type: 'n1-standard-1'
} }
} }
} }
...@@ -221,15 +218,15 @@ describe Projects::ClustersController do ...@@ -221,15 +218,15 @@ describe Projects::ClustersController do
end end
end end
describe 'security', :focus => true do describe 'security' do
it { expect { go }.to be_allowed_for(:admin) } it { expect { go }.to be_allowed_for(:admin) }
it { expect { go }.to be_allowed_for(:owner).of(project) } it { expect { go }.to be_allowed_for(:owner).of(project) }
it { expect { go }.to be_allowed_for(:master).of(project) } it { expect { go }.to be_allowed_for(:master).of(project) }
# it { expect { go }.to be_denied_for(:developer).of(project) } it { expect { go }.to be_denied_for(:developer).of(project) }
# it { expect { go }.to be_denied_for(:reporter).of(project) } it { expect { go }.to be_denied_for(:reporter).of(project) }
# it { expect { go }.to be_denied_for(:guest).of(project) } it { expect { go }.to be_denied_for(:guest).of(project) }
# it { expect { go }.to be_denied_for(:user) } it { expect { go }.to be_denied_for(:user) }
# it { expect { go }.to be_denied_for(:external) } it { expect { go }.to be_denied_for(:external) }
end end
def go def go
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment