Browse files

Make test name descriptive and add reference to original regression c…

…ommit
  • Loading branch information...
1 parent cd3177d commit e9177816ff9138aa9260f9fe216e1b424177dc0d @vipulnsward vipulnsward committed May 9, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/test/cases/associations/eager_test.rb
View
3 activerecord/test/cases/associations/eager_test.rb
@@ -250,7 +250,8 @@ def test_loading_with_no_associations
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

0 comments on commit e917781

Please sign in to comment.