aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test.rb
blob: 62e0faa3db0a5ae2673ae75c2af3c1752e841e41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$: << 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"