Method: Cucumber::Runtime::SupportCode#find_after_step_hooks

Defined in:
lib/cucumber/runtime/support_code.rb

#find_after_step_hooks(test_case) ⇒ Object

[View source] [View on GitHub]

105
106
107
108
109
# File 'lib/cucumber/runtime/support_code.rb', line 105

def find_after_step_hooks(test_case)
  scenario = RunningTestCase.new(test_case)
  hooks = registry.hooks_for(:after_step, scenario)
  StepHooks.new(@configuration.id_generator, hooks, @configuration.event_bus)
end