Method: Cucumber::Hooks.after_step_hook

Defined in:
lib/cucumber/hooks.rb

.after_step_hook(id, test_step, location, &block) ⇒ Object

Raises:

  • (ArgumentError)
[View source] [View on GitHub]

20
21
22
23
24
# File 'lib/cucumber/hooks.rb', line 20

def after_step_hook(id, test_step, location, &block)
  raise ArgumentError if test_step.hook?

  build_hook_step(id, location, block, AfterStepHook, Core::Test::Action)
end