summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2019-07-12 08:36:24 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2019-07-12 08:36:24 +0000
commit1def071991dddf6a1500c84d9e53a0edd64d45a1 (patch)
tree1170896aa2f74d2298d9d3785bea45506cdedef3 /spec/support/shared_examples
parent84054830318a4d4221cc05ca987240c197369fcf (diff)
parent7fb076f5d086d1194624ccb4c4246cb25f2dad16 (diff)
downloadgitlab-ce-1def071991dddf6a1500c84d9e53a0edd64d45a1.tar.gz
Merge branch '55623-group-cluster-apis' into 'master'
Resolve "API support for group-level clusters" Closes #55623 See merge request gitlab-org/gitlab-ce!30213
Diffstat (limited to 'spec/support/shared_examples')
-rw-r--r--spec/support/shared_examples/policies/clusterable_shared_examples.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/shared_examples/policies/clusterable_shared_examples.rb b/spec/support/shared_examples/policies/clusterable_shared_examples.rb
index d99f94c76c3..4f9873d53e4 100644
--- a/spec/support/shared_examples/policies/clusterable_shared_examples.rb
+++ b/spec/support/shared_examples/policies/clusterable_shared_examples.rb
@@ -24,14 +24,6 @@ shared_examples 'clusterable policies' do
context 'with no clusters' do
it { expect_allowed(:add_cluster) }
end
-
- context 'with an existing cluster' do
- before do
- cluster
- end
-
- it { expect_disallowed(:add_cluster) }
- end
end
end
end