Skip to content

Conversation

@mattbrictson
Copy link
Owner

In Rails edge (8.2/9.0), the application_system_test_case.rb file is not generated by default. Instead, Rails wants you to explicitly opt into system tests by running rails generate system_test.

Nextgen assumed that this file was always present, and would crash as a result when generating an app with Rails edge. This fix changes how nextgen detects system test support by looking for the capybara gem instead.

In Rails edge (8.2/9.0), the `application_system_test_case.rb` file is
not generated by default. Instead, Rails wants you to explicitly opt
into system tests by running `rails generate system_test`.

Nextgen assumed that this file was always present, and would crash as a
result when generating an app with Rails edge. This fix changes how
nextgen detects system test support by looking for the capybara gem
instead.
@mattbrictson mattbrictson added the ✨ Feature Adds a new feature label Dec 13, 2025
@mattbrictson mattbrictson merged commit 9f1c5ad into main Dec 13, 2025
16 checks passed
@mattbrictson mattbrictson deleted the features/rails-edge-system-test branch December 13, 2025 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature Adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants