aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-19 18:56:00 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-19 18:56:00 -0300
commit03035d69e14032a589e9653e3145237b8a9a09be (patch)
treea20b809cd5b17c706709a51594c0ab1480503c6c /activerecord/test/cases/attribute_methods_test.rb
parent09cc922ed31bf699b26fafe4822fc7048b821825 (diff)
parentd0f8c46e1962b28d77209f367f12c2d2c77f4b12 (diff)
downloadrails-03035d69e14032a589e9653e3145237b8a9a09be.tar.gz
rails-03035d69e14032a589e9653e3145237b8a9a09be.tar.bz2
rails-03035d69e14032a589e9653e3145237b8a9a09be.zip
Merge pull request #15184 from sgrif/sg-remove-timestamp-type
Remove :timestamp column type
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index 38e93288e4..495b43c9e5 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -516,7 +516,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase
end
def test_only_time_related_columns_are_meant_to_be_cached_by_default
- expected = %w(datetime timestamp time date).sort
+ expected = %w(datetime time date).sort
assert_equal expected, ActiveRecord::Base.attribute_types_cached_by_default.map(&:to_s).sort
end