instance method
add_error
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v4.0.13Signature
add_error(e)
No documentation comment.
Parameters
-
ereq
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