Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-03 06:08:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-03 06:08:12 +0300
commit497b73152109b6da922e1a8ffd8ab193f7f3fcd3 (patch)
treeb63d8745c5f549eaa05f9e0ab0cf9609f45b7785 /spec/policies/design_management
parentc8489a149e99123aa1d7425677eb720c31ae7dd8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies/design_management')
-rw-r--r--spec/policies/design_management/design_policy_spec.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/policies/design_management/design_policy_spec.rb b/spec/policies/design_management/design_policy_spec.rb
index 5cf2f376edf..5a74d979ef3 100644
--- a/spec/policies/design_management/design_policy_spec.rb
+++ b/spec/policies/design_management/design_policy_spec.rb
@@ -131,17 +131,6 @@ RSpec.describe DesignManagement::DesignPolicy do
it_behaves_like "design abilities available for members"
- context 'when reorder_designs is not enabled' do
- before do
- stub_feature_flags(reorder_designs: false)
- end
-
- let(:current_user) { developer }
-
- it { is_expected.to be_allowed(*(developer_design_abilities - [:move_design])) }
- it { is_expected.to be_disallowed(:move_design) }
- end
-
context "for guests in private projects" do
let_it_be(:project) { create(:project, :private) }
let(:current_user) { guest }