aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-27 07:19:16 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-27 07:22:19 +0900
commit25d3e7334beda3114a1c5ce01f0c52cbb15f3b18 (patch)
tree636be295cb406efdbc096137250315c4289b3e89 /activerecord
parenta72c88e8b39774a4755e2ce4dd8be6cc21302c17 (diff)
downloadrails-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.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb8
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