Skip to content
Browse files

use `find(:all)` instead of `all` in test

  • Loading branch information...
1 parent 419c30e commit f7b00e2d6ef80d95b144979d95b615a36b973152 @mislav mislav committed Aug 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/finder_test.rb
View
2 test/finder_test.rb
@@ -312,7 +312,7 @@ def test_paginated_each_with_scoped_order
paginated_developers = []
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
## misc ##

0 comments on commit f7b00e2

Please sign in to comment.
Something went wrong with that request. Please try again.