Skip to content

Instantly share code, notes, and snippets.

@mergulhao
Created October 11, 2010 19:46
Show Gist options
  • Save mergulhao/621095 to your computer and use it in GitHub Desktop.
Save mergulhao/621095 to your computer and use it in GitHub Desktop.
...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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment