diff options
author | Marcin Raczkowski <marcin.raczkowski@gmail.com> | 2010-08-28 18:47:39 +0200 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-11-19 19:03:56 -0300 |
commit | ce3ea558ab509624a1c8d8499408f52ebb4bbe2b (patch) | |
tree | 62d7bdf583f11f0932a7dd15ac10216446d2bf00 /activerecord/test/cases/associations/join_model_test.rb | |
parent | 3df4460a742c18af8cc71e41009c9028467d16b5 (diff) | |
download | rails-ce3ea558ab509624a1c8d8499408f52ebb4bbe2b.tar.gz rails-ce3ea558ab509624a1c8d8499408f52ebb4bbe2b.tar.bz2 rails-ce3ea558ab509624a1c8d8499408f52ebb4bbe2b.zip |
IdentityMap - Tests for IM
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 96edcfbb35..21f61594d7 100644 --- a/activerecord/test/cases/associations/join_model_test.rb +++ b/activerecord/test/cases/associations/join_model_test.rb @@ -104,7 +104,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase def test_polymorphic_has_many_going_through_join_model_with_custom_select_and_joins assert_equal tags(:general), tag = posts(:welcome).tags.add_joins_and_select.first - tag.author_id + assert_nothing_raised(NoMethodError) { tag.author_id } end def test_polymorphic_has_many_going_through_join_model_with_custom_foreign_key |