Skip to content
Browse files

reload bob after his journy to a new timezone

  • Loading branch information...
1 parent d0e3323 commit 7dbc99ef0df31ed00734597665c6e4deb73e67e6 @brianmario brianmario committed with tenderlove Aug 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/migration_test.rb
View
1 activerecord/test/cases/migration_test.rb
@@ -566,6 +566,7 @@ def test_native_types
if bob.moment_of_truth.is_a?(DateTime)
with_env_tz 'US/Eastern' do
+ bob.reload
assert_equal DateTime.local_offset, bob.moment_of_truth.offset
assert_not_equal 0, bob.moment_of_truth.offset
assert_not_equal "Z", bob.moment_of_truth.zone

0 comments on commit 7dbc99e

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