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

improve nonce unit test #2577

Merged
merged 4 commits into from
Apr 19, 2024
Merged

improve nonce unit test #2577

merged 4 commits into from
Apr 19, 2024

Conversation

fallwith
Copy link
Contributor

  • check for the exact ActionDispatch constant, not Rails
  • escape the random characters ('+', etc.) that may interfere with regex matching
  • use ///m for regex

- check for the exact ActionDispatch constant, not Rails
- escape the random characters ('+', etc.) that may interfere with regex
  matching
- use ///m for regex
prevent `ensure` from being reached when the test is skipped
the `norails` env can pass the ActionDispatch detection check, so have
it fail a separate Rails existence check as well
set a version constraint
@fallwith fallwith merged commit 29f812a into dev Apr 19, 2024
28 of 29 checks passed
@fallwith fallwith deleted the noncesence branch April 19, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants