1
0
Fork 0
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:
Guillermo Iguaran 2012-10-09 11:51:29 -05:00
parent 8815de7b42
commit 39928c8db2

View file

@ -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"