blob: dce85cf12dc863f155c97b315234012a363a8c2f (
plain) (
tree)
|
|
require "rails/command"
require "rails/test_unit/minitest_plugin"
module Rails
module Command
class TestCommand < Base # :nodoc:
no_commands do
def help
perform # Hand over help printing to minitest.
end
end
def perform(*)
$LOAD_PATH << Rails::Command.root.join("test").to_s
Minitest.run_via = :rails
require "active_support/testing/autorun"
end
end
end
end
|