Skip to content
Browse files

Should call configure! to initiliaze the application

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent cfacae1 commit 5b42acdadd0da164ede9e3c5f9afbd9ef18fb8e9 @spastorino spastorino committed with josevalim Jun 9, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/application/generators_test.rb
View
1 railties/test/application/generators_test.rb
@@ -64,6 +64,7 @@ def with_bare_config
# Initialize the application
require "#{app_path}/config/environment"
require "rails/generators"
+ Rails::Generators.configure!
assert_equal :rspec, Rails::Generators.options[:rails][:test_framework]
assert_equal "-w", Rails::Generators.aliases[:rails][:test_framework]

0 comments on commit 5b42acd

Please sign in to comment.
Something went wrong with that request. Please try again.