提交 8e55d3e8 编写于 作者: A Arun Agrawal

Fixed failing tests for generators_test

上级 52e01fc5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册