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

Run Railtie from the tests so that we can detect bugs inside Railtie #556

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

amatsuda
Copy link
Member

@amatsuda amatsuda commented Jan 3, 2024

#552 seems like a valid fix. The require statement seems to be requiring something that no longer exists. Then why isn't the CI failing? It should be because the Jbuilder Railtie is not executed during the tests.

So, here's an attempt to make the CI run the Railtie. Let's see if the CI properly fails now...

@amatsuda
Copy link
Member Author

Confirmed that tests were failing with this patch https://github.com/rails/jbuilder/actions/runs/7401605179, then merged #552 and rebased, and all the tests are passing now 🎉

@amatsuda amatsuda merged commit 3875613 into rails:main Jan 17, 2024
38 checks passed
@amatsuda amatsuda deleted the run_railtie_in_tests branch January 17, 2024 09:10
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.

None yet

1 participant