Method: Cucumber::Runtime::AfterHooks#apply_to

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

#apply_to(test_case) ⇒ Object


13
14
15
16
17
# File 'lib/cucumber/runtime/after_hooks.rb', line 13

def apply_to(test_case)
  test_case.with_steps(
    test_case.test_steps + after_hooks.reverse
  )
end