Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Should call configure! to initiliaze the application

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit 5b42acdadd0da164ede9e3c5f9afbd9ef18fb8e9 1 parent cfacae1
@spastorino spastorino authored josevalim committed
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]
Please sign in to comment.
Something went wrong with that request. Please try again.