diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-15 01:33:25 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-03 02:11:51 +0900 |
commit | 2e43e50e742e96a60ef00e1431f39a80a11ca168 (patch) | |
tree | e65d9f49c7e7822a088afba9098c2d36cdaf3b64 /spec/finders/pipelines_finder_spec.rb | |
parent | 2075d7ce52ea9d5885fb1bb1ca70eee2e7898c31 (diff) | |
download | gitlab-ce-2e43e50e742e96a60ef00e1431f39a80a11ca168.tar.gz |
Finish pipelines_spec
Diffstat (limited to 'spec/finders/pipelines_finder_spec.rb')
-rw-r--r-- | spec/finders/pipelines_finder_spec.rb | 2 |
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 |