From b9ab607922909e0a93beebbbc423efa541c033a0 Mon Sep 17 00:00:00 2001 From: Steve Polito Date: Wed, 20 Mar 2024 20:33:04 -0400 Subject: [PATCH] Setup Generator: Remove call to `test:prepare` Follow-up to #1157 After merging #1156, this command no longer works, since it's assumed the app was generated with the `--skip-test` flag. --- lib/generators/templates/setup/bin_setup.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/generators/templates/setup/bin_setup.rb b/lib/generators/templates/setup/bin_setup.rb index ef20fe69e..a1ad3adfb 100755 --- a/lib/generators/templates/setup/bin_setup.rb +++ b/lib/generators/templates/setup/bin_setup.rb @@ -31,10 +31,6 @@ def using_node? system! "bin/rails assets:clobber assets:precompile" end - # https://github.com/rails/rails/pull/47719/files - puts "\n== Setup test environment ==" - system! "bin/rails test:prepare" - puts "\n== Removing old logs and tempfiles ==" system! "bin/rails log:clear tmp:clear"