aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/generators_test_helper.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-05-25 01:16:32 +0200
committerJosé Valim <jose.valim@gmail.com>2011-05-25 01:16:50 +0200
commit594b749f3c81102a1f89480d0f8f10b464b895a7 (patch)
tree64be4f3726e5510e18c7f2632452bfb600d3597f /railties/test/generators/generators_test_helper.rb
parentd1d34ce4990f6e9f1110d71ec5a9fd59dc5a6538 (diff)
downloadrails-594b749f3c81102a1f89480d0f8f10b464b895a7.tar.gz
rails-594b749f3c81102a1f89480d0f8f10b464b895a7.tar.bz2
rails-594b749f3c81102a1f89480d0f8f10b464b895a7.zip
Streamline generators initialization flow.
Diffstat (limited to 'railties/test/generators/generators_test_helper.rb')
-rw-r--r--railties/test/generators/generators_test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/generators_test_helper.rb b/railties/test/generators/generators_test_helper.rb
index 1b9a8fd8a7..91ab648297 100644
--- a/railties/test/generators/generators_test_helper.rb
+++ b/railties/test/generators/generators_test_helper.rb
@@ -12,7 +12,7 @@ Rails.application.config.generators.templates = [File.join(Rails.root, "lib", "t
# Call configure to load the settings from
# Rails.application.config.generators to Rails::Generators
-Rails::Generators.configure!
+Rails::Generators.configure!(Rails.application.config.generators)
require 'active_record'
require 'action_dispatch'