class Spinach::StepNotDefinedException
This class represents the exception raised when Spinach
can't find a step for a {FeatureSteps}.
Attributes
step[R]
Public Class Methods
new(step)
click to toggle source
@param [Hash] step
The missing step.
@api public
# File lib/spinach/exceptions.rb, line 12 def initialize(step) @step = step end
Public Instance Methods
message()
click to toggle source
@return [String]
A custom message when scenario steps aren't found.
@api public
# File lib/spinach/exceptions.rb, line 20 def message "Step '#{@step.name}' not found" end