Module: RSpecStepwise::StepExample
- Defined in:
- lib/rspec-steps/stepwise.rb
Instance Method Summary collapse
- #run_after_each ⇒ Object (also: #run_after_example)
- #run_before_each ⇒ Object (also: #run_before_example)
- #with_around_hooks ⇒ Object
Instance Method Details
#run_after_each ⇒ Object Also known as: run_after_example
71 72 73 |
# File 'lib/rspec-steps/stepwise.rb', line 71 def run_after_each @example_group_class.run_after_step(self) end |
#run_before_each ⇒ Object Also known as: run_before_example
64 65 66 67 68 |
# File 'lib/rspec-steps/stepwise.rb', line 64 def run_before_each @example_group_class.run_before_step(self) rescue Object => ex puts "\n#{__FILE__}:#{__LINE__} => #{[ex, ex.backtrace].pretty_inspect}" end |
#with_around_hooks ⇒ Object
76 77 78 |
# File 'lib/rspec-steps/stepwise.rb', line 76 def with_around_hooks yield end |