BigW Consortium Gitlab

Commit 2e43e50e by Shinya Maeda

Finish pipelines_spec

parent 2075d7ce
......@@ -233,7 +233,7 @@ describe PipelinesFinder do
let(:params) { { order_by: 'created_at', sort: 'invalid_sort' } }
it 'sorts by default' do
expect(subject).to eq(Ci::Pipeline.order(id: :desc))
expect(subject).to eq(Ci::Pipeline.order(created_at: :desc))
end
end
end
......
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