diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-19 04:45:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-19 04:45:44 +0300 |
commit | 85dc423f7090da0a52c73eb66faf22ddb20efff9 (patch) | |
tree | 9160f299afd8c80c038f08e1545be119f5e3f1e1 /spec/finders/design_management | |
parent | 15c2c8c66dbe422588e5411eee7e68f1fa440bb8 (diff) |
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
Diffstat (limited to 'spec/finders/design_management')
-rw-r--r-- | spec/finders/design_management/designs_finder_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/finders/design_management/designs_finder_spec.rb b/spec/finders/design_management/designs_finder_spec.rb index 0133095827d..feb78a4bc4b 100644 --- a/spec/finders/design_management/designs_finder_spec.rb +++ b/spec/finders/design_management/designs_finder_spec.rb @@ -42,26 +42,6 @@ RSpec.describe DesignManagement::DesignsFinder do is_expected.to eq([design3, design2, design1]) end - context 'when the :reorder_designs feature is enabled for the project' do - before do - stub_feature_flags(reorder_designs: project) - end - - it 'returns the designs sorted by their relative position' do - is_expected.to eq([design3, design2, design1]) - end - end - - context 'when the :reorder_designs feature is disabled' do - before do - stub_feature_flags(reorder_designs: false) - end - - it 'returns the designs sorted by ID' do - is_expected.to eq([design1, design2, design3]) - end - end - context 'when argument is the ids of designs' do let(:params) { { ids: [design1.id] } } |