Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...F
- Failures:
- 1) Task
- Failure/Error: it { should have_scope(:by_due_at).order("due_at desc") }
- Expected :by_due_at when called on Task scope to SELECT `tasks`.* FROM `tasks` ORDER BY due_at desc, got SELECT `tasks`.* FROM `tasks` ORDER BY due_at desc
- # spec/models/task_spec.rb:9
- # spec/models/task_spec.rb:3
- Finished in 0.066 seconds
- 4 examples, 1 failure
Add Comment
Please, Sign In to add comment