Skip to content

Commit

Permalink
Merge pull request #48670 from eileencodes/fix-flaky-time-test-48664
Browse files Browse the repository at this point in the history
Fix flaky time test
  • Loading branch information
eileencodes committed Jul 5, 2023
2 parents 807bd54 + 1560e6a commit 8bf2160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activerecord/test/cases/yaml_serialization_test.rb
Expand Up @@ -14,6 +14,8 @@ def test_to_yaml_with_time_with_zone_should_not_raise_exception
topic = Topic.new(written_on: DateTime.now)
assert_nothing_raised { topic.to_yaml }
end
ensure
Topic.reset_column_information
end

def test_roundtrip
Expand Down

0 comments on commit 8bf2160

Please sign in to comment.