Commit c925fbfd authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'ab/flaky-pipeline-spec' into 'master'

Fix flaky pipeline spec

See merge request gitlab-org/gitlab!27126
parents ebd5f35d 705b180b
......@@ -254,7 +254,9 @@ describe API::Pipelines do
context 'when order_by and sort are specified' do
context 'when order_by user_id' do
before do
create_list(:ci_pipeline, 3, project: project, user: create(:user))
create_list(:user, 3).each do |some_user|
create(:ci_pipeline, project: project, user: some_user)
end
end
context 'when sort parameter is valid' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment