Skip to content

Commit

Permalink
fix for postgresql failing test in local
Browse files Browse the repository at this point in the history
  • Loading branch information
Karunakar committed Aug 3, 2013
1 parent 50029ba commit d0dbf39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0dbf39

Please sign in to comment.