Skip to content

Commit

Permalink
use find(:all) instead of all in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Aug 10, 2011
1 parent 419c30e commit f7b00e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/finder_test.rb
Expand Up @@ -312,7 +312,7 @@ def test_paginated_each_with_scoped_order
paginated_developers = [] paginated_developers = []
Developer.poor.paginated_each {|d| paginated_developers << d} Developer.poor.paginated_each {|d| paginated_developers << d}


assert_equal Developer.poor.all, paginated_developers, 'should use scoped :order option' assert_equal Developer.poor.find(:all), paginated_developers, 'should use scoped :order option'
end end


## misc ## ## misc ##
Expand Down

0 comments on commit f7b00e2

Please sign in to comment.