Module: Minitest::RunRespectingRakeTestopts

Defined in:
railties/lib/rails/test_unit/minitest_plugin.rb

Instance Method Summary collapse

Instance Method Details

#run(args = []) ⇒ Object


68
69
70
71
72
73
74
# File 'railties/lib/rails/test_unit/minitest_plugin.rb', line 68

def run(args = [])
  if defined?(@rake_patterns)
    args = Shellwords.split(ENV["TESTOPTS"] || "")
  end

  super
end