Permalink
Browse files

Merge pull request #10533 from vipulnsward/fix_test

Fix test, addresss => address
  • Loading branch information...
2 parents 0051998 + e917781 commit fe01752418cec61893f1d0c39aa29e6d9f5bcf4a @rafaelfranca rafaelfranca committed Jun 15, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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 fe01752

Please sign in to comment.