Skip to content
Browse files

Merge pull request #11741 from Karunakar/failing_test_in_local

fix for postgresql failing test in local
  • Loading branch information...
1 parent 5ab9126 commit ae8601070d8ab9e74d553381963edbc7b951e172 @rafaelfranca rafaelfranca committed Aug 3, 2013
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

0 comments on commit ae86010

Please sign in to comment.
Something went wrong with that request. Please try again.