Skip to content

Commit

Permalink
Merge pull request rails#49679 from zzak/railties-quiet
Browse files Browse the repository at this point in the history
🤫 Quiet down railties tests
  • Loading branch information
rafaelfranca authored May 31, 2024
2 parents de8f8ec + 5dd8f54 commit 64d5f8b
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 201 deletions.
1 change: 1 addition & 0 deletions railties/test/application/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def suppress_default_config
def restore_default_config
FileUtils.rm_rf("#{app_path}/config/environments")
FileUtils.mv("#{app_path}/config/__environments__", "#{app_path}/config/environments")
remove_from_env_config "production", "config.log_level = :error"
end

test "Rails.env does not set the RAILS_ENV environment variable which would leak out into rake tasks" do
Expand Down
Loading

0 comments on commit 64d5f8b

Please sign in to comment.