diff options
author | Emilio Tagua <miloops@gmail.com> | 2011-02-18 15:40:48 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2011-02-18 15:40:48 -0300 |
commit | d21a454327d4f4751fc4fa6260f03f9961191336 (patch) | |
tree | 8785518ec05529fcd332ec236b9e07551cc426c0 /activerecord | |
parent | 356086944ddf0a34def10c99d9fe5670e78e9065 (diff) | |
download | rails-d21a454327d4f4751fc4fa6260f03f9961191336.tar.gz rails-d21a454327d4f4751fc4fa6260f03f9961191336.tar.bz2 rails-d21a454327d4f4751fc4fa6260f03f9961191336.zip |
No need to test agaisnt target.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/identity_map_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/identity_map_test.rb b/activerecord/test/cases/associations/identity_map_test.rb index 07dc3deff4..37ec3b846e 100644 --- a/activerecord/test/cases/associations/identity_map_test.rb +++ b/activerecord/test/cases/associations/identity_map_test.rb @@ -116,7 +116,7 @@ class InverseHasManyIdentityMapTest < ActiveRecord::TestCase m = Author.first i = Post.new(:title => 'Industrial Revolution Re-enactment', :body => 'Lorem ipsum') m.posts = [i] - assert_same m, i.author.target + assert_same m, i.author assert_not_nil i.author assert_equal m.name, i.author.name, "Name of man should be the same before changes to parent instance" m.name = 'Bongo' |