Skip to content

Commit

Permalink
Setup Generator: Remove call to test:prepare (#1166)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stevepolitodesign committed May 10, 2024
1 parent 762faaa commit a1cb9d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/generators/templates/setup/bin_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a1cb9d8

Please sign in to comment.