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-12-06 00:13:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-06 00:13:48 +0300
commit339b91536372cb04b4528725aae408145628ca69 (patch)
tree0f74e9659c715544da2ef72772756450a89d2b4b /spec/finders
parentc8419b0227e069a7403f41589f1d0ef690e762f1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/milestones_finder_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/milestones_finder_spec.rb b/spec/finders/milestones_finder_spec.rb
index 118679a4911..80819a5760c 100644
--- a/spec/finders/milestones_finder_spec.rb
+++ b/spec/finders/milestones_finder_spec.rb
@@ -182,9 +182,9 @@ RSpec.describe MilestonesFinder do
expect(result).to contain_exactly(milestone_2, milestone_3, milestone_4)
end
- context 'when include_parent_milestones is true' do
+ context 'when include_ancestors is true' do
it 'ignores the iid filter' do
- params[:include_parent_milestones] = true
+ params[:include_ancestors] = true
expect(result).to contain_exactly(milestone_1, milestone_2, milestone_3, milestone_4)
end