diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-05-25 07:55:20 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-05-25 07:55:20 +0530 |
commit | 8e55d3e8d019d66aab711418de8d22bd4ef099e7 (patch) | |
tree | 9adb3a4b1974cc82d1cefaacfb5c17af94f791f4 /railties/test/application | |
parent | 52e01fc59dfcadaa0fd7773fb4d9a04dff297ce8 (diff) | |
download | rails-8e55d3e8d019d66aab711418de8d22bd4ef099e7.tar.gz rails-8e55d3e8d019d66aab711418de8d22bd4ef099e7.tar.bz2 rails-8e55d3e8d019d66aab711418de8d22bd4ef099e7.zip |
Fixed failing tests for generators_test
Diffstat (limited to 'railties/test/application')
-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 |