Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f7b00e2d6ef80d95b144979d95b615a36b973152 1 parent 419c30e
@mislav mislav authored
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 ##
Please sign in to comment.
Something went wrong with that request. Please try again.