blob: ca0b6c00fe6776a1cd258571979b48adef8c05da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require_relative "../../command"
require_relative "../../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
|