aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-05-09 17:34:58 +0530
committerVipul A M <vipulnsward@gmail.com>2013-06-15 18:39:06 +0530
commite9177816ff9138aa9260f9fe216e1b424177dc0d (patch)
treec1512ae30df7adb3e32aca00a471f92c5190568a /activerecord/test/cases/associations/eager_test.rb
parentcd3177d315cd537a2810a27e0aff7e3a7af111f2 (diff)
downloadrails-e9177816ff9138aa9260f9fe216e1b424177dc0d.tar.gz
rails-e9177816ff9138aa9260f9fe216e1b424177dc0d.tar.bz2
rails-e9177816ff9138aa9260f9fe216e1b424177dc0d.zip
Make test name descriptive and add reference to original regression commit
Diffstat (limited to 'activerecord/test/cases/associations/eager_test.rb')
-rw-r--r--activerecord/test/cases/associations/eager_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb
index 4aa6567d85..1cfaf552af 100644
--- a/activerecord/test/cases/associations/eager_test.rb
+++ b/activerecord/test/cases/associations/eager_test.rb
@@ -250,7 +250,8 @@ class EagerAssociationTest < ActiveRecord::TestCase
assert_nil Post.all.merge!(:includes => :author).find(posts(:authorless).id).author
end
- def test_nested_loading_with_no_associations
+ # Regression test for 21c75e5
+ def test_nested_loading_does_not_raise_exception_when_association_does_not_exist
assert_nothing_raised do
Post.all.merge!(:includes => {:author => :author_addresss}).find(posts(:authorless).id)
end