Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

:cut: whitespace

  • Loading branch information...
commit 1d75efed8400cb28a7c56e6625be7df31e926c5a 1 parent 45318e4
@tenderlove tenderlove authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/associations/eager_test.rb
View
4 activerecord/test/cases/associations/eager_test.rb
@@ -1186,10 +1186,10 @@ def test_deep_including_through_habtm
author = Author.includes(:posts).references(:posts).reorder(:name).find_by('posts.title IS NOT NULL')
assert_equal authors(:bob), author
end
-
+
test "preloading with a polymorphic association and using the existential predicate" do
assert_equal authors(:david), authors(:david).essays.includes(:writer).first.writer
-
+
assert_nothing_raised do
authors(:david).essays.includes(:writer).any?
end
Please sign in to comment.
Something went wrong with that request. Please try again.