Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests with Rails 7.2 and 8.0, handle deprecations in tests #42

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

razumau
Copy link
Contributor

@razumau razumau commented Nov 19, 2024

Notes on deprecations:

  1. Dynamic :controller and :action segments have been deprecated. We replace them with a static list of routes that we use in tests.
  2. to_time will always preserve the receiver timezone rather than system local time in Rails 8.1”. We don’t really care one way or another in this test app, so we opt in for the new behaviour.

@razumau razumau requested a review from a team November 19, 2024 12:34
.github/workflows/ci.yml Outdated Show resolved Hide resolved
Dynamic :controller and :action segments have been deprecated. We replace them with a static list of routes that we use in tests.

Another deprecation is “`to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1”. We don’t really care one way or another in this test app, so we opt in for the new behaviour.
@razumau razumau merged commit 9ca9e18 into main Nov 19, 2024
17 checks passed
@razumau razumau deleted the jury.razumau/rails8.0 branch November 19, 2024 13:23
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