diff options
-rw-r--r-- | railties/test/application/generators_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/generators_test.rb b/railties/test/application/generators_test.rb index 8b840fffd0..daacea4720 100644 --- a/railties/test/application/generators_test.rb +++ b/railties/test/application/generators_test.rb @@ -69,7 +69,7 @@ module ApplicationTests # Initialize the application require "#{app_path}/config/environment" require "rails/generators" - Rails::Generators.configure! + Rails::Generators.configure!(Rails.application.config.generators) assert_equal :rspec, Rails::Generators.options[:rails][:test_framework] assert_equal "-w", Rails::Generators.aliases[:rails][:test_framework] @@ -85,7 +85,7 @@ module ApplicationTests # Initialize the application require "#{app_path}/config/environment" require "rails/generators" - Rails::Generators.configure! + Rails::Generators.configure!(Rails.application.config.generators) assert_equal Thor::Base.shell, Thor::Shell::Basic end |