aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorKarunakar (Ruby) <revurikarna@gmail.com>2013-08-04 00:37:33 +0530
committerKarunakar (Ruby) <revurikarna@gmail.com>2013-08-04 00:37:33 +0530
commitd0dbf3928905b6ea07c1484de829a18b341115db (patch)
treecb959a83723227c0288ea4de3dbff5cdcbb426d9 /activerecord
parent50029ba5a125477b9a0cc17af4c474ddf8a61cae (diff)
downloadrails-d0dbf3928905b6ea07c1484de829a18b341115db.tar.gz
rails-d0dbf3928905b6ea07c1484de829a18b341115db.tar.bz2
rails-d0dbf3928905b6ea07c1484de829a18b341115db.zip
fix for postgresql failing test in local
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/adapters/postgresql/datatype_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/datatype_test.rb b/activerecord/test/cases/adapters/postgresql/datatype_test.rb
index 36d7294bc8..e946b8bb22 100644
--- a/activerecord/test/cases/adapters/postgresql/datatype_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/datatype_test.rb
@@ -594,7 +594,7 @@ _SQL
@connection.reconnect!
@first_timestamp_with_zone = PostgresqlTimestampWithZone.find(1)
- assert_equal Time.utc(2010,1,1, 11,0,0), @first_timestamp_with_zone.time
+ assert_equal Time.local(2010,1,1, 11,0,0), @first_timestamp_with_zone.time
assert_instance_of Time, @first_timestamp_with_zone.time
ensure
ActiveRecord::Base.default_timezone = old_default_tz