1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/tools/test.rb
Xavier Noria 92e2d16a3c applies new string literal convention in tools
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:22:51 +02:00

15 lines
299 B
Ruby

$: << File.expand_path("test", COMPONENT_ROOT)
require "bundler"
Bundler.setup
require "rails/test_unit/minitest_plugin"
module Rails
# Necessary to get rerun-snippts working.
def self.root
@root ||= Pathname.new(COMPONENT_ROOT)
end
end
Rails::TestUnitReporter.executable = "bin/test"