Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't rely on association proxying object_id. [#225 state:resolved]

  • Loading branch information...
commit 1b0128c5413ace12dee45e9db328cff866a5bb06 1 parent a34cc42
Jeremy Kemper jeremy authored
4 activerecord/test/cases/associations/belongs_to_associations_test.rb
View
@@ -54,8 +54,8 @@ def test_no_unexpected_aliasing
original_proxy = citibank.firm
citibank.firm = another_firm
- assert_equal first_firm.object_id, original_proxy.object_id
- assert_equal another_firm.object_id, citibank.firm.object_id
+ assert_equal first_firm.object_id, original_proxy.target.object_id
+ assert_equal another_firm.object_id, citibank.firm.target.object_id
end
def test_creating_the_belonging_object
Please sign in to comment.
Something went wrong with that request. Please try again.