Permalink
Browse files

Fixed failing tests for generators_test

  • Loading branch information...
1 parent 52e01fc commit 8e55d3e8d019d66aab711418de8d22bd4ef099e7 @arunagw arunagw committed May 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/generators_test.rb
@@ -69,7 +69,7 @@ def with_bare_config
# 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 @@ def with_bare_config
# 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

0 comments on commit 8e55d3e

Please sign in to comment.