Class: Cucumber::Filters::ApplyAroundHooks

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb

Instance Method Summary collapse

Instance Method Details

#test_case(test_case) ⇒ Object



8
9
10
11
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb', line 8

def test_case(test_case)
  around_hooks = hooks.find_around_hooks(test_case)
  test_case.with_around_hooks(around_hooks).describe_to(receiver)
end