diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-09 21:07:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-09 21:07:52 +0300 |
commit | 6c15c18fa455502bf0b80316390eefde40d42a8a (patch) | |
tree | b42af022a747fd580a09f36b0e60a9f53ed7b25c /spec/requests/api/pipelines_spec.rb | |
parent | 263f926c770163788f78af03ab69689c94f57360 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/pipelines_spec.rb')
-rw-r--r-- | spec/requests/api/pipelines_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/requests/api/pipelines_spec.rb b/spec/requests/api/pipelines_spec.rb index a9d570b5696..75e3013d362 100644 --- a/spec/requests/api/pipelines_spec.rb +++ b/spec/requests/api/pipelines_spec.rb @@ -254,9 +254,7 @@ describe API::Pipelines do context 'when order_by and sort are specified' do context 'when order_by user_id' do before do - 3.times do - create(:ci_pipeline, project: project, user: create(:user)) - end + create_list(:ci_pipeline, 3, project: project, user: create(:user)) end context 'when sort parameter is valid' do |