diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-27 07:19:16 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-27 07:22:19 +0900 |
commit | 25d3e7334beda3114a1c5ce01f0c52cbb15f3b18 (patch) | |
tree | 636be295cb406efdbc096137250315c4289b3e89 | |
parent | a72c88e8b39774a4755e2ce4dd8be6cc21302c17 (diff) | |
download | rails-25d3e7334beda3114a1c5ce01f0c52cbb15f3b18.tar.gz rails-25d3e7334beda3114a1c5ce01f0c52cbb15f3b18.tar.bz2 rails-25d3e7334beda3114a1c5ce01f0c52cbb15f3b18.zip |
Remove unused `cached_columns` and `time_related_columns_on_topic` in `AttributeMethodsTest`
These are no longer used since 66736c8e.
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index 0ea8ef5cea..2d67c57cfb 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -1019,14 +1019,6 @@ class AttributeMethodsTest < ActiveRecord::TestCase ActiveRecord::Base.time_zone_aware_types = old_types end - def cached_columns - Topic.columns.map(&:name) - end - - def time_related_columns_on_topic - Topic.columns.select { |c| [:time, :date, :datetime, :timestamp].include?(c.type) } - end - def privatize(method_signature) @target.class_eval(<<-private_method, __FILE__, __LINE__ + 1) private |