aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-11-24 14:18:33 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-11-24 14:18:33 -0800
commit63963801c01279d99930de1cb252a8238909bc0c (patch)
treec7862232d9211257dfa20a8c439fff79dcd5a5a8 /activerecord
parentfbef981fdc7ba64678f7ae1fc82b2cd790469280 (diff)
downloadrails-63963801c01279d99930de1cb252a8238909bc0c.tar.gz
rails-63963801c01279d99930de1cb252a8238909bc0c.tar.bz2
rails-63963801c01279d99930de1cb252a8238909bc0c.zip
oops, forgot to add the real assertion!
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/adapters/postgresql/change_schema_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/change_schema_test.rb b/activerecord/test/cases/adapters/postgresql/change_schema_test.rb
index 90cd28c2ec..ec1b446dab 100644
--- a/activerecord/test/cases/adapters/postgresql/change_schema_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/change_schema_test.rb
@@ -19,6 +19,7 @@ module ActiveRecord
def test_change_string_to_date
connection.change_column :strings, :somedate, :timestamp, using: 'CAST("somedate" AS timestamp)'
+ assert_equal :datetime, connection.columns(:strings).find { |c| c.name == 'somedate' }.type
end
end
end