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/base_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/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 87ce537e0e..39043447fc 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -502,13 +502,6 @@ class BasicsTest < ActiveRecord::TestCase assert_equal 'value2', weird.send('a$b') end - def test_attributes_guard_protected_attributes_is_deprecated - attributes = { "title" => "An amazing title" } - post = ProtectedTitlePost.new - assert_deprecated { post.send(:attributes=, attributes, false) } - assert_equal "An amazing title", post.title - end - def test_multiparameter_attributes_on_date attributes = { "last_read(1i)" => "2004", "last_read(2i)" => "6", "last_read(3i)" => "24" } topic = Topic.find(1) |