Class: Matest::ExceptionRaised

Inherits:
SpecStatus show all
Defined in:
lib/matest/spec_status.rb

Instance Attribute Summary collapse

Attributes inherited from SpecStatus

#example, #result

Instance Method Summary collapse

Methods inherited from SpecStatus

#description, #initialize, #location

Constructor Details

This class inherits a constructor from Matest::SpecStatus

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



60
61
62
# File 'lib/matest/spec_status.rb', line 60

def exception
  @exception
end

Instance Method Details

#nameObject



65
66
67
# File 'lib/matest/spec_status.rb', line 65

def name
  "ERROR"
end

#to_sObject



61
62
63
# File 'lib/matest/spec_status.rb', line 61

def to_s
  "E"
end