Skip to content
Snippets Groups Projects
Commit abad4ff0 authored by Dennis Tang's avatar Dennis Tang
Browse files

remove focus on test

parent 7a5da502
No related branches found
No related tags found
2 merge requests!6393CE upstream - 2018-07-05 12:27 UTC,!6387Prepare 11.1 RC5 EE release
......@@ -176,10 +176,7 @@ def go
cluster: {
name: 'new-cluster',
provider_gcp_attributes: {
gcp_project_id: '111',
zone: 'us-central1-a',
num_nodes: 3,
machine_type: 'n1-standard-1'
gcp_project_id: '111'
}
}
}
......@@ -221,15 +218,15 @@ def go
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(:owner).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(:reporter).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(:external) }
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(:guest).of(project) }
it { expect { go }.to be_denied_for(:user) }
it { expect { go }.to be_denied_for(:external) }
end
def go
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment