diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-05 19:06:29 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-06-05 19:06:29 -0300 |
commit | 91ed77805d9c339be1c273b1ba2d3949ee9081f0 (patch) | |
tree | 8be69ae19fa3d8b0ca8cd4125d23bd96350da635 | |
parent | 423f14183f31565cc68d0674733b7b9edf3814a6 (diff) | |
parent | 382f52ddbb248cc3b5562aa033def3c33625f49a (diff) | |
download | rails-91ed77805d9c339be1c273b1ba2d3949ee9081f0.tar.gz rails-91ed77805d9c339be1c273b1ba2d3949ee9081f0.tar.bz2 rails-91ed77805d9c339be1c273b1ba2d3949ee9081f0.zip |
Merge pull request #20442 from arunagw/aa-remove-warning-eager-load
Remove warning for setting eager_load
-rw-r--r-- | railties/test/application/multiple_applications_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/multiple_applications_test.rb b/railties/test/application/multiple_applications_test.rb index cddc79cc85..f2770a9cb4 100644 --- a/railties/test/application/multiple_applications_test.rb +++ b/railties/test/application/multiple_applications_test.rb @@ -118,7 +118,7 @@ module ApplicationTests 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 |