Method: Rails::TestUnit::Runner.attach_before_load_options

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

.attach_before_load_options(opts) ⇒ Object



27
28
29
30
# File 'railties/lib/rails/test_unit/runner.rb', line 27

def attach_before_load_options(opts)
  opts.on("--warnings", "-w", "Run with Ruby warnings enabled") { }
  opts.on("-e", "--environment ENV", "Run tests in the ENV environment") { }
end