Class: XSpec::Failure
- Inherits:
-
Struct
- Object
- Struct
- XSpec::Failure
- Defined in:
- lib/xspec/data_structures.rb
Overview
A test failure will be reported as a ‘Failure`, which includes contextual information about the failure useful for reporting to the user.
Instance Attribute Summary collapse
-
#caller ⇒ Object
Returns the value of attribute caller.
-
#message ⇒ Object
Returns the value of attribute message.
-
#unit_of_work ⇒ Object
Returns the value of attribute unit_of_work.
Instance Attribute Details
#caller ⇒ Object
Returns the value of attribute caller
177 178 179 |
# File 'lib/xspec/data_structures.rb', line 177 def caller @caller end |
#message ⇒ Object
Returns the value of attribute message
177 178 179 |
# File 'lib/xspec/data_structures.rb', line 177 def @message end |
#unit_of_work ⇒ Object
Returns the value of attribute unit_of_work
177 178 179 |
# File 'lib/xspec/data_structures.rb', line 177 def unit_of_work @unit_of_work end |