diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 14:17:54 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-30 14:17:54 -0700 |
commit | 1d75efed8400cb28a7c56e6625be7df31e926c5a (patch) | |
tree | 521a56e6f9079e79fc3236cb27c2c3d677dee1ec | |
parent | 45318e4010e4f6303ef740bf159d2803c28acc7a (diff) | |
download | rails-1d75efed8400cb28a7c56e6625be7df31e926c5a.tar.gz rails-1d75efed8400cb28a7c56e6625be7df31e926c5a.tar.bz2 rails-1d75efed8400cb28a7c56e6625be7df31e926c5a.zip |
:cut: whitespace
-rw-r--r-- | activerecord/test/cases/associations/eager_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb index 05e50cdee2..498a4e8144 100644 --- a/activerecord/test/cases/associations/eager_test.rb +++ b/activerecord/test/cases/associations/eager_test.rb @@ -1186,10 +1186,10 @@ class EagerAssociationTest < ActiveRecord::TestCase 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 |