summaryrefslogtreecommitdiff
path: root/spec/controllers/groups
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-07 15:09:18 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-07 15:09:18 +0000
commit40b78ea2b6f5f0ef730c2cd811911be3449562e6 (patch)
tree4298f7f47855273b4e5f0c6791bed283b0c51003 /spec/controllers/groups
parent6d5f18a3c1007e810b141b9ba671fd85a3e83e7f (diff)
downloadgitlab-ce-40b78ea2b6f5f0ef730c2cd811911be3449562e6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/groups')
-rw-r--r--spec/controllers/groups/labels_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups/labels_controller_spec.rb b/spec/controllers/groups/labels_controller_spec.rb
index 0a3aed9688b..90da40cd5f0 100644
--- a/spec/controllers/groups/labels_controller_spec.rb
+++ b/spec/controllers/groups/labels_controller_spec.rb
@@ -60,7 +60,7 @@ RSpec.describe Groups::LabelsController do
create_list(:group_label, 3, group: group)
# some n+1 queries still exist
- expect { get :index, params: { group_id: group.to_param } }.not_to exceed_all_query_limit(control.count).with_threshold(12)
+ expect { get :index, params: { group_id: group.to_param } }.not_to exceed_all_query_limit(control.count).with_threshold(10)
expect(assigns(:labels).count).to eq(4)
end
end