aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-21 17:35:38 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-21 17:36:00 -0300
commitb85894e854d09b2e4c00c06cc4f1077fd6c3c31d (patch)
tree91e2b31163602dd7518213d837545a68260774b5
parent6bef1469d2e43d0815b70588370470983a4320af (diff)
downloadrails-b85894e854d09b2e4c00c06cc4f1077fd6c3c31d.tar.gz
rails-b85894e854d09b2e4c00c06cc4f1077fd6c3c31d.tar.bz2
rails-b85894e854d09b2e4c00c06cc4f1077fd6c3c31d.zip
Set eager load option in "make_basic_app" for railties tests
Avoid output with config option not set when running some tests.
-rw-r--r--railties/test/isolation/abstract_unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index d89cfba56d..37839a1c54 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -136,6 +136,7 @@ module TestHelpers
require "action_controller/railtie"
app = Class.new(Rails::Application)
+ app.config.eager_load = false
app.config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"
app.config.session_store :cookie_store, :key => "_myapp_session"
app.config.active_support.deprecation = :log