Exception: Rails::TestUnit::InvalidTestError

Inherits:
StandardError
  • Object
show all
Defined in:
railties/lib/rails/test_unit/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, suggestion) ⇒ InvalidTestError

Returns a new instance of InvalidTestError.



13
14
15
16
17
18
# File 'railties/lib/rails/test_unit/runner.rb', line 13

def initialize(path, suggestion)
  super("    Could not load test file: \#{path}.\n    \#{suggestion}\n  MESSAGE\nend\n".squish)