diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-03 23:24:04 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:43 -0300 |
commit | eef8a2c6f249d923f191491ddb10d20faa4e170a (patch) | |
tree | 1303c3bdaffee7ac5384bd2f31cd11be8af8031f /activerecord/test/cases | |
parent | 87c8ce340c6c83342df988df247e9035393ed7a0 (diff) | |
download | rails-eef8a2c6f249d923f191491ddb10d20faa4e170a.tar.gz rails-eef8a2c6f249d923f191491ddb10d20faa4e170a.tar.bz2 rails-eef8a2c6f249d923f191491ddb10d20faa4e170a.zip |
Remove `cache_attributes` and friends
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index 731d433706..feb1fca500 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -531,20 +531,6 @@ class AttributeMethodsTest < ActiveRecord::TestCase end end - def test_deprecated_cache_attributes - assert_deprecated do - Topic.cache_attributes :replies_count - end - - assert_deprecated do - Topic.cached_attributes - end - - assert_deprecated do - Topic.cache_attribute? :replies_count - end - end - def test_converted_values_are_returned_after_assignment developer = Developer.new(name: 1337, salary: "50000") |