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_test.rb | |
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_test.rb')
-rw-r--r-- | activerecord/test/cases/associations_test.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb index 38d439d68a..49d82ba2df 100644 --- a/activerecord/test/cases/associations_test.rb +++ b/activerecord/test/cases/associations_test.rb @@ -203,18 +203,6 @@ class AssociationProxyTest < ActiveRecord::TestCase assert_equal david.projects, david.projects.reload.reload end end - - # Tests that proxy_owner, proxy_target and proxy_reflection are implement as deprecated methods - def test_proxy_deprecations - david = developers(:david) - david.projects.load_target - - [:owner, :target, :reflection].each do |name| - assert_deprecated do - assert_equal david.association(:projects).send(name), david.projects.send("proxy_#{name}") - end - end - end end class OverridingAssociationsTest < ActiveRecord::TestCase |