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:
authorSean McGivern <sean@gitlab.com>2018-10-05 13:46:54 +0300
committerSean McGivern <sean@gitlab.com>2018-10-05 13:46:54 +0300
commit456ed01d3ee84007baaa6274731e137607f50830 (patch)
treed1705d6320468cb2cb72e6e864d9d5594502680c /spec/controllers
parent309ee7c73c4f77661a16ab332e53e33d05745682 (diff)
Put issues group search CTE behind a (default on) flag
We don't think this is needed any more - see https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21521, and https://gitlab.com/gitlab-org/gitlab-ce/issues/52271 for removing the flag.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/groups_controller_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb
index ff27e057b31..a099cdafa58 100644
--- a/spec/controllers/groups_controller_spec.rb
+++ b/spec/controllers/groups_controller_spec.rb
@@ -226,6 +226,11 @@ describe GroupsController do
end
context 'searching' do
+ # Remove as part of https://gitlab.com/gitlab-org/gitlab-ce/issues/52271
+ before do
+ stub_feature_flags(use_cte_for_group_issues_search: false)
+ end
+
it 'works with popularity sort' do
get :issues, id: group.to_param, search: 'foo', sort: 'popularity'