-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
1) Comment add some examples to (or delete) /home/runner/work/awesomebits/awesomebits/spec/models/comment_spec.rb
# Not yet implemented
# ./spec/models/comment_spec.rb:4
Failures:
1) FinalistsController#index sorting sorts by title
Failure/Error: expect(controller.view_assigns['projects'].collect { |p| p.id }).to eq(projects.sort { |a, b| a.title <=> b.title }.collect { |p| p.id })
expected: [1, 4, 3, 2]
got: [1, 3, 4, 2]
(compared using ==)
# ./spec/controllers/finalists_controller_spec.rb:60:in `block (4 levels) in <main>'
Finished in 21.6 seconds (files took 4.23 seconds to load)
391 examples, 1 failure, 1 pending
Failed examples:
rspec ./spec/controllers/finalists_controller_spec.rb:57 # FinalistsController#index sorting sorts by title
Metadata
Metadata
Assignees
Labels
No labels