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>2023-10-24 12:11:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-24 12:11:20 +0300
commita19e3ec8e8545d5a6b275bab3e5ea8b0cc707449 (patch)
treefe01e7e8080f0505f476bd420352d1bf79c8ef17 /spec/services
parent3368cc98aff2a2261c5dea9887e626836864000a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/issues/update_service_spec.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/services/issues/update_service_spec.rb b/spec/services/issues/update_service_spec.rb
index c4012e2a98f..c4ad4039b45 100644
--- a/spec/services/issues/update_service_spec.rb
+++ b/spec/services/issues/update_service_spec.rb
@@ -539,21 +539,6 @@ RSpec.describe Issues::UpdateService, :mailer, feature_category: :team_planning
end
end
end
-
- it 'verifies the number of queries' do
- update_issue(description: "- [ ] Task 1 #{user.to_reference}")
-
- baseline = ActiveRecord::QueryRecorder.new do
- update_issue(description: "- [x] Task 1 #{user.to_reference}")
- end
-
- recorded = ActiveRecord::QueryRecorder.new do
- update_issue(description: "- [x] Task 1 #{user.to_reference}\n- [ ] Task 2 #{user.to_reference}")
- end
-
- expect(recorded.count).to eq(baseline.count)
- expect(recorded.cached_count).to eq(0)
- end
end
context 'when description changed' do