mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Minor test refactoring: Use add_to_env instead of an initializer
This commit is contained in:
parent
8815de7b42
commit
39928c8db2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module ApplicationTests
|
|||
end
|
||||
|
||||
test "assets aren't concatened when compile is true is on and debug_assets params is true" do
|
||||
app_file "config/initializers/compile.rb", "Rails.application.config.assets.compile = true"
|
||||
add_to_env_config "production", "config.assets.compile = true"
|
||||
|
||||
ENV["RAILS_ENV"] = "production"
|
||||
require "#{app_path}/config/environment"
|
||||
|
|
Loading…
Reference in a new issue