Build failure in master "MilestonesFinder with order default orders by due date"
This has been showing up consistently in master since !12280 (merged) was merged:
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/21570333
Failures:
1) MilestonesFinder with order default orders by due date
Failure/Error: expect(result.first).to eq(milestone_1)
expected: #<Milestone id: 29, title: "one test", project_id: nil, description: nil, due_date: "2017-07-07", cre...e_html: "one test", description_html: "", start_date: nil, cached_markdown_version: 1, group_id: 22>
got: #<Milestone id: 30, title: "My title 501", project_id: nil, description: nil, due_date: nil, created_...ml: "My title 501", description_html: "", start_date: nil, cached_markdown_version: 1, group_id: 22>
(compared using ==)
Diff:
@@ -1,14 +1,14 @@
-#<Milestone:0x00000021ef1188
- id: 29,
- title: "one test",
+#<Milestone:0x00000021212980
+ id: 30,
+ title: "My title 501",
project_id: nil,
description: nil,
- due_date: Fri, 07 Jul 2017,
+ due_date: nil,
created_at: Fri, 07 Jul 2017 21:25:28 UTC +00:00,
updated_at: Fri, 07 Jul 2017 21:25:28 UTC +00:00,
state: "active",
- iid: 1,
- title_html: "one test",
+ iid: 2,
+ title_html: "My title 501",
description_html: "",
start_date: nil,
cached_markdown_version: 1,
# ./spec/finders/milestones_finder_spec.rb:77:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:90:in `block (2 levels) in <top (required)>'