method

add_error

rails latest stable - Class: ActiveSupport::Testing::ProxyTestResult

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

add_error(e)
public

No documentation available.

# File activesupport/lib/active_support/testing/isolation.rb, line 21
      def add_error(e)
        e = Test::Unit::Error.new(e.test_name, RemoteError.new(e.exception))
        @calls << [:add_error, e]
      end