Merge pull request #20442 from arunagw/aa-remove-warning-eager-load

Remove warning for setting eager_load
This commit is contained in:
Rafael Mendonça França 2015-06-05 19:06:29 -03:00
commit 91ed77805d

@ -118,7 +118,7 @@ def test_initializers_run_on_different_applications_go_to_the_same_class
assert_equal 0, run_count, "Without loading the initializers, the count should be 0"
# Set config.eager_load to false so that an eager_load warning doesn't pop up
AppTemplate::Application.new { config.eager_load = false }.initialize!
AppTemplate::Application.create { config.eager_load = false }.initialize!
assert_equal 3, run_count, "There should have been three initializers that incremented the count"
end