aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_one_associations_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-05-25 13:48:35 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-05-25 13:48:35 -0700
commit6b436c23a90cb3bb2e2d55902a55fc6f659b90be (patch)
tree0a9c74c9c7b7be0a1c216e7e0ecc121d6da42f06 /activerecord/test/cases/associations/has_one_associations_test.rb
parentd25b7c2eeefff3a0abf7b532c10ce25a71d0fba2 (diff)
parent542114e1d82fffa1062ef0eaa1053959ab9d14ec (diff)
downloadrails-6b436c23a90cb3bb2e2d55902a55fc6f659b90be.tar.gz
rails-6b436c23a90cb3bb2e2d55902a55fc6f659b90be.tar.bz2
rails-6b436c23a90cb3bb2e2d55902a55fc6f659b90be.zip
Merge pull request #1285 from joshk/remove_active_record_deprecations
removed deprecated methods, and related tests, from ActiveRecord
Diffstat (limited to 'activerecord/test/cases/associations/has_one_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/has_one_associations_test.rb9
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')