1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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 2abcdfd978.
This commit is contained in:
Prathamesh Sonpatki 2016-03-02 10:19:08 +05:30
parent 7fa15fe694
commit ea491653cc

View file

@ -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