From 46eb6a0c1f8472a5462d71e72c79a0eb03a48b37 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Wed, 26 Aug 2015 22:43:02 +0900 Subject: remove require of files under support that do not use I do not know why files under the support has been require. However, under the support even rails application does not use. In addition, since the default under the support file nor is generated, it requires I think not necessary --- .../lib/rails/generators/rails/plugin/templates/test/test_helper.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb index b1b77629d4..f315144723 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb +++ b/railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb @@ -14,9 +14,6 @@ require "rails/test_help" # to be shown. Minitest.backtrace_filter = Minitest::BacktraceFilter.new -# Load support files -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } - # Load fixtures from the engine if ActiveSupport::TestCase.respond_to?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) -- cgit v1.2.3