summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 18:07:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-09 18:07:52 +0000
commit6c15c18fa455502bf0b80316390eefde40d42a8a (patch)
treeb42af022a747fd580a09f36b0e60a9f53ed7b25c /spec/finders
parent263f926c770163788f78af03ab69689c94f57360 (diff)
downloadgitlab-ce-6c15c18fa455502bf0b80316390eefde40d42a8a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/issues_finder_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/finders/issues_finder_spec.rb b/spec/finders/issues_finder_spec.rb
index c52ee89006b..056795a50d0 100644
--- a/spec/finders/issues_finder_spec.rb
+++ b/spec/finders/issues_finder_spec.rb
@@ -435,9 +435,7 @@ describe IssuesFinder do
let(:params) { { label_name: described_class::FILTER_ANY } }
it 'returns issues that have one or more label' do
- 2.times do
- create(:label_link, label: create(:label, project: project2), target: issue3)
- end
+ create_list(:label_link, 2, label: create(:label, project: project2), target: issue3)
expect(issues).to contain_exactly(issue2, issue3)
end