Class: TurnipFormatter::Scenario::Pass

Inherits:
Object
  • Object
show all
Includes:
TurnipFormatter::Scenario
Defined in:
lib/turnip_formatter/scenario/pass.rb

Instance Method Summary collapse

Methods included from TurnipFormatter::Scenario

#example, #feature_file_path, #feature_info, #feature_name, #id, #initialize, #name, #run_time, #status, #steps, #tags

Instance Method Details

#validationObject



13
14
15
16
# File 'lib/turnip_formatter/scenario/pass.rb', line 13

def validation
  raise NotPassedScenarioError if status != 'passed'
  super
end