diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-14 12:59:16 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-14 12:59:16 +0100 |
commit | bc821a56114ae6f6d0b595475ad9e71f01f46f35 (patch) | |
tree | 68f73c478155eec9c722c4cf7ab194938385ccc5 /activerecord/test/cases/associations/join_model_test.rb | |
parent | 22782e2cc131863b72e457636f9a995a6ae50136 (diff) | |
download | rails-bc821a56114ae6f6d0b595475ad9e71f01f46f35.tar.gz rails-bc821a56114ae6f6d0b595475ad9e71f01f46f35.tar.bz2 rails-bc821a56114ae6f6d0b595475ad9e71f01f46f35.zip |
Added test_has_many_through_has_many_with_has_many_through_habtm_source_reflection and make it pass
Diffstat (limited to 'activerecord/test/cases/associations/join_model_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/join_model_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/join_model_test.rb b/activerecord/test/cases/associations/join_model_test.rb index 4b7a8b494d..385505b109 100644 --- a/activerecord/test/cases/associations/join_model_test.rb +++ b/activerecord/test/cases/associations/join_model_test.rb @@ -304,7 +304,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase end def test_has_many_going_through_join_model_with_custom_foreign_key - assert_equal [], posts(:thinking).authors + assert_equal [authors(:bob)], posts(:thinking).authors assert_equal [authors(:mary)], posts(:authorless).authors end |