Permalink
Browse files

Fix test_with_fully_qualified_table_name to not use deprecated API :f…

…irst
  • Loading branch information...
1 parent d1f75d1 commit 4802d061274d2e800f07391bc6e4b2ee399b94ac @thinkerbot committed Apr 29, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 activerecord/test/cases/associations/eager_test.rb
@@ -83,9 +83,8 @@ def test_with_two_tables_in_from_without_getting_double_quoted
assert_equal 2, posts.first.comments.size
end
- def test_with_full_qualified_table_name
+ def test_with_fully_qualified_table_name
assert_equal "Research", Emp.find(1, :include => :dept).dept.nombre
- assert_equal "Research", Emp.find(:first, :include => :dept).dept.nombre
end
def test_loading_with_multiple_associations

0 comments on commit 4802d06

Please sign in to comment.