method

new

rails latest stable - Class: Rails::TestUnit::InvalidTestError

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

new(path, suggestion)
public

No documentation available.

# File railties/lib/rails/test_unit/runner.rb, line 13
      def initialize(path, suggestion)
        super(<<~MESSAGE.rstrip)
          Could not load test file: #{path}.
          #{suggestion}
        MESSAGE
      end