class Spinach::StepPendingException
This class represents the exception raised when Spinach
find a step which claims to be pending for a {FeatureSteps}.
Attributes
reason[R]
step[RW]
Public Class Methods
new(reason)
click to toggle source
@param [String] reason
The reason why the step is set to pending
@api public
# File lib/spinach/exceptions.rb, line 36 def initialize(reason) @reason = reason end
Public Instance Methods
message()
click to toggle source
@return [String]
A custom message when scenario steps are pending.
@api public
# File lib/spinach/exceptions.rb, line 44 def message "Step '#{@step.name}' pending" end