提交 9ebda291 编写于 作者: C Chris Kottom

allow use of minitest-rails gem with test runner

上级 f746534c
* Allow use of minitest-rails gem with Rails test runner.
Fixes #22455.
*Chris Kottom*
* Add `bin/test` script to rails plugin.
`bin/test` can use the same API as `bin/rails test`.
......
......@@ -14,7 +14,7 @@ def aggregated_results
SummaryReporter.prepend AggregatedResultSuppresion
def self.plugin_rails_options(opts, options)
executable = Rails::TestUnitReporter.executable
executable = ::Rails::TestUnitReporter.executable
opts.separator ""
opts.separator "Usage: #{executable} [options] [files or directories]"
opts.separator "You can run a single test by appending a line number to a filename:"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册