Skip to content

Commit

Permalink
fix unordered failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kjg authored and mislav committed Jul 7, 2010
1 parent 470dae1 commit 2a80334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/finder_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 2a80334

Please sign in to comment.