diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-25 02:28:41 +0200 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-25 02:29:32 +0200 |
commit | 542114e1d82fffa1062ef0eaa1053959ab9d14ec (patch) | |
tree | bbeecf790f95cef0f33c7dd4fd029aef3cc1eb90 /activerecord/test/cases/associations | |
parent | 52e01fc59dfcadaa0fd7773fb4d9a04dff297ce8 (diff) | |
download | rails-542114e1d82fffa1062ef0eaa1053959ab9d14ec.tar.gz rails-542114e1d82fffa1062ef0eaa1053959ab9d14ec.tar.bz2 rails-542114e1d82fffa1062ef0eaa1053959ab9d14ec.zip |
removed deprecated methods, and related tests, from ActiveRecord
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r-- | activerecord/test/cases/associations/has_one_associations_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
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') |