Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for postgresql failing test in local

  • Loading branch information...
commit d0dbf3928905b6ea07c1484de829a18b341115db 1 parent 50029ba
@Karunakar Karunakar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/adapters/postgresql/datatype_test.rb
View
2  activerecord/test/cases/adapters/postgresql/datatype_test.rb
@@ -594,7 +594,7 @@ def test_timestamp_with_zone_values_without_rails_time_zone_support
@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
Please sign in to comment.
Something went wrong with that request. Please try again.