aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-03-02 10:19:08 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-03-02 10:28:34 +0530
commitea491653cc27faec6e945de4a95bcfc940b1fc75 (patch)
treeb9827d12731bb24826faa39db753e9861557f622 /tools
parent7fa15fe694561b862773456edc11964556fb913b (diff)
downloadrails-ea491653cc27faec6e945de4a95bcfc940b1fc75.tar.gz
rails-ea491653cc27faec6e945de4a95bcfc940b1fc75.tar.bz2
rails-ea491653cc27faec6e945de4a95bcfc940b1fc75.zip
Remove requiring load_paths from tools/test.rb
- Instead require and setup Bundler - `tools/test.rb` is used internally from all `bin/test` scripts inside component gems. - Followup of https://github.com/rails/rails/commit/2abcdfd978fdcd491576a237e8c6be04ddaf884d.
Diffstat (limited to 'tools')
-rw-r--r--tools/test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/test.rb b/tools/test.rb
index 70f295b554..62e0faa3db 100644
--- a/tools/test.rb
+++ b/tools/test.rb
@@ -1,5 +1,8 @@
$: << File.expand_path("test", COMPONENT_ROOT)
-require File.expand_path("../../load_paths", __FILE__)
+
+require 'bundler'
+Bundler.setup
+
require "rails/test_unit/minitest_plugin"
module Rails