Class: Protest::FailedTest
- Includes:
- TestWithErrors
- Defined in:
- lib/protest/tests.rb
Overview
Encapsulates the relevant information for a test which failed an assertion.
Instance Attribute Summary
Attributes included from TestWithErrors
Attributes inherited from Test
Instance Method Summary collapse
-
#initialize(test, error) ⇒ FailedTest
constructor
:nodoc:.
Methods included from TestWithErrors
#backtrace, #error_message, #file, #line, #raw_backtrace
Constructor Details
#initialize(test, error) ⇒ FailedTest
:nodoc:
60 61 62 63 |
# File 'lib/protest/tests.rb', line 60 def initialize(test, error) #:nodoc: super(test) @error = error end |