instance method add_error

Ruby on Rails 3.2.22.5

Since v3.0.20 Last seen in v4.0.13

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13

Signature

add_error(e)

No documentation comment.

Parameters

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

Defined in activesupport/lib/active_support/testing/isolation.rb line 19 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Testing::ProxyTestResult

Type at least 2 characters to search.

↑↓ navigate · open · esc close