aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-08-26 22:43:02 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-08-27 08:33:02 +0900
commit46eb6a0c1f8472a5462d71e72c79a0eb03a48b37 (patch)
tree7587bf74a71502409feef97f4a53dfca8e3c4f20 /railties/lib/rails
parentfa54f58733d0e3dbf8572684f6fe0b00ae38c39b (diff)
downloadrails-46eb6a0c1f8472a5462d71e72c79a0eb03a48b37.tar.gz
rails-46eb6a0c1f8472a5462d71e72c79a0eb03a48b37.tar.bz2
rails-46eb6a0c1f8472a5462d71e72c79a0eb03a48b37.zip
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
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/plugin/templates/test/test_helper.rb3
1 files changed, 0 insertions, 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__)