123456789_123456789_123456789_123456789_123456789_

Exception: Rails::TestUnit::InvalidTestError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • ::Object
Defined in: railties/lib/rails/test_unit/runner.rb

Class Method Summary

Constructor Details

.new(path, suggestion) ⇒ InvalidTestError

[ GitHub ]

  
# File 'railties/lib/rails/test_unit/runner.rb', line 13

def initialize(path, suggestion)
  super(<<~MESSAGE.squish)
    Could not load test file: #{path}.
    #{suggestion}
  MESSAGE
end