Class: TurnipFormatter::Scenario::Pending
Instance Method Summary
collapse
#example, #feature_file_path, #feature_info, #feature_name, #id, #initialize, #name, #run_time, #status, #tags
Instance Method Details
#steps ⇒ Object
14
15
16
17
18
|
# File 'lib/turnip_formatter/scenario/pending.rb', line 14
def steps
steps = super
steps[offending_line].extend TurnipFormatter::Step::Pending
steps
end
|
#validation ⇒ Object
20
21
22
23
24
|
# File 'lib/turnip_formatter/scenario/pending.rb', line 20
def validation
raise NotPendingScenarioError if status != 'pending'
offending_line
super
end
|