Class: TurnipFormatter::Scenario::Pending
- Inherits:
-
Object
- Object
- TurnipFormatter::Scenario::Pending
- Includes:
- TurnipFormatter::Scenario
- Defined in:
- lib/turnip_formatter/scenario/pending.rb
Instance Method Summary collapse
Methods included from TurnipFormatter::Scenario
#feature_file_path, #feature_name, #initialize, #method_missing, #name, #tags
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TurnipFormatter::Scenario
Instance Method Details
#steps ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/turnip_formatter/scenario/pending.rb', line 14 def steps steps = super steps[offending_line].tap do |step| step.extend TurnipFormatter::Step::Pending step.attention(, scenario.location) end steps end |
#validation ⇒ Object
23 24 25 26 27 |
# File 'lib/turnip_formatter/scenario/pending.rb', line 23 def validation raise NotPendingScenarioError if status != 'pending' offending_line super end |