Skip to content

Commit

Permalink
Merge pull request #45648 from skipkayhil/fix-skip-system-test-update
Browse files Browse the repository at this point in the history
Fix skip_system_test not being preserved in update
  • Loading branch information
jonathanhefner committed Jul 24, 2022
2 parents 8892100 + 37d0516 commit 7548d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/app_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def generator_options
options[:skip_action_text] = !defined?(ActionText::Engine)
options[:skip_action_cable] = !defined?(ActionCable::Engine)
options[:skip_test] = !defined?(Rails::TestUnitRailtie)
options[:skip_system_test] = Rails.application.config.generators.system_tests.nil?
options[:skip_asset_pipeline] = !defined?(Sprockets::Railtie) && !defined?(Propshaft::Railtie)
options[:skip_bootsnap] = !defined?(Bootsnap)
options[:updating] = true
Expand Down

0 comments on commit 7548d76

Please sign in to comment.