class RSpec::Steps::StepResult
Public Instance Methods
failed?()
click to toggle source
# File lib/rspec-steps/step-result.rb, line 3 def failed? return (!exception.nil?) end
has_executed_successfully?()
click to toggle source
# File lib/rspec-steps/step-result.rb, line 7 def has_executed_successfully? if failed_step.nil? if exception.nil? true else raise exception end else raise failed_step.exception end end
is_after_failed_step?()
click to toggle source
# File lib/rspec-steps/step-result.rb, line 19 def is_after_failed_step? !!failed_step end