Skip to content

Commit

Permalink
Remove deprecated call to Relation#all
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Dec 5, 2013
1 parent 0fc20a6 commit 5786baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/finder_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def test_find_by_two_attributes_but_passing_only_one
end

def test_find_last_with_offset
devs = Developer.order('id').all
devs = Developer.order('id')

assert_equal devs[2], Developer.offset(2).first
assert_equal devs[-3], Developer.offset(2).last
Expand Down

0 comments on commit 5786baf

Please sign in to comment.