Skip to content

Conversation

yuki24
Copy link
Contributor

@yuki24 yuki24 commented Nov 14, 2021

This PR fixes the failing test in the master branch. The test is failing on this line on Rails. Apparently, the time helper is now timezone-aware after this change rails/rails@b96f4ae, but now we have to set the default time zone to make the time helper work with string arguments.

Rather than setting a default time zone in the jbuilder test, we can just pass a Time object to get the test working.

@dhh dhh merged commit 606747f into rails:master Nov 14, 2021
@yuki24 yuki24 deleted the fix-test-with-time-helper branch November 14, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants