Permalink
Browse files

fix unordered failing test

  • Loading branch information...
1 parent 470dae1 commit 2a80334b87db42241aacd493db661e8585a6dc8d @kjg kjg committed with mislav Jul 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/finder_test.rb
View
@@ -197,7 +197,7 @@ def test_paginate_with_group
def test_paginate_with_dynamic_finder
expected = [replies(:witty_retort), replies(:spam)]
- assert_equal expected, Reply.paginate_by_topic_id(1, :page => 1)
+ assert_equal expected, Reply.paginate_by_topic_id(1, :page => 1, :order => :created_at)
entries = Developer.paginate :conditions => { :salary => 100000 }, :page => 1, :per_page => 5
assert_equal 8, entries.total_entries

0 comments on commit 2a80334

Please sign in to comment.