From 542114e1d82fffa1062ef0eaa1053959ab9d14ec Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Wed, 25 May 2011 02:28:41 +0200 Subject: removed deprecated methods, and related tests, from ActiveRecord --- .../test/cases/associations/has_one_associations_test.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'activerecord/test/cases/associations') diff --git a/activerecord/test/cases/associations/has_one_associations_test.rb b/activerecord/test/cases/associations/has_one_associations_test.rb index f3bf5baa95..299688d840 100644 --- a/activerecord/test/cases/associations/has_one_associations_test.rb +++ b/activerecord/test/cases/associations/has_one_associations_test.rb @@ -370,15 +370,6 @@ class HasOneAssociationsTest < ActiveRecord::TestCase assert_nil new_ship.pirate_id end - def test_deprecated_association_loaded - firm = companies(:first_firm) - firm.association(:account).stubs(:loaded?).returns(stub) - - assert_deprecated do - assert_equal firm.association(:account).loaded?, firm.account_loaded? - end - end - def test_association_keys_bypass_attribute_protection car = Car.create(:name => 'honda') -- cgit v1.2.3