Broken master: spec/controllers/dashboard/projects_controller_spec.rb:39
Job #941567157 failed for c4a8b5a4:
https://gitlab.com/gitlab-org/gitlab/-/jobs/941567157#L5493:
Failures:
1) Dashboard::ProjectsController#index user logged in orders the projects by last activity by default
Failure/Error: expect(assigns(:projects)).to eq(projects)
expected: [#<Project id:1064 namespace854/project999>>, #<Project id:1065 namespace855/project1000>>]
got: #<ActiveRecord::Relation [#<Project id:1065 namespace855/project1000>>, #<Project id:1064 namespace854/project999>>]>
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-[#<Project id:1064 namespace854/project999>>,
- #<Project id:1065 namespace855/project1000>>]
+[#<Project id:1065 namespace855/project1000>>,
+ #<Project id:1064 namespace854/project999>>]
# ./spec/controllers/dashboard/projects_controller_spec.rb:45:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:354:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:345:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:341:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:341:in `block (2 levels) in <top (required)>'
Finished in 25 minutes 21 seconds (files took 53.78 seconds to load)
2378 examples, 1 failure, 5 pending
Failed examples:
rspec ./spec/controllers/dashboard/projects_controller_spec.rb:39 # Dashboard::ProjectsController#index user logged in orders the projects by last activity by default
SimpleCov failed with exit 1
Edited by Dylan Griffith