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

12 lines
263 B
Ruby
Raw Normal View History

require "rails/test_unit/minitest_plugin"
if defined?(ENGINE_ROOT)
2016-09-16 12:26:10 -04:00
$LOAD_PATH << File.expand_path("test", ENGINE_ROOT)
else
2016-09-16 12:26:10 -04:00
$LOAD_PATH << File.expand_path("../../test", APP_PATH)
end
Minitest.run_via[:rails] = true
require "active_support/testing/autorun"