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:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-14 19:33:25 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-02 20:11:51 +0300
commit2e43e50e742e96a60ef00e1431f39a80a11ca168 (patch)
treee65d9f49c7e7822a088afba9098c2d36cdaf3b64 /spec/finders
parent2075d7ce52ea9d5885fb1bb1ca70eee2e7898c31 (diff)
Finish pipelines_spec
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/pipelines_finder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/pipelines_finder_spec.rb b/spec/finders/pipelines_finder_spec.rb
index 76068f21976..db2829137ac 100644
--- a/spec/finders/pipelines_finder_spec.rb
+++ b/spec/finders/pipelines_finder_spec.rb
@@ -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