Sha256: 3bb325fa9275269089cbb7dc837161a266d1650c50f0dcd3588490f2f5ce661f

Contents?: true

Size: 339 Bytes

Versions: 41

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

require 'cucumber/core/filter'

module Cucumber
  module Filters
    class ApplyAroundHooks < Core::Filter.new(:hooks)
      def test_case(test_case)
        around_hooks = hooks.find_around_hooks(test_case)
        test_case.with_around_hooks(around_hooks).describe_to(receiver)
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 4 rubygems

Version Path
cucumber-9.2.1 lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.2.0 lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.1.2 lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.1.1 lib/cucumber/filters/apply_around_hooks.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/cucumber-9.1.0/lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.1.0 lib/cucumber/filters/apply_around_hooks.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/cucumber-9.0.2/lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.0.2 lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.0.1 lib/cucumber/filters/apply_around_hooks.rb
cucumber-9.0.0 lib/cucumber/filters/apply_around_hooks.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/filters/apply_around_hooks.rb
cucumber-8.0.0 lib/cucumber/filters/apply_around_hooks.rb
cucumber-8.0.0.rc.1 lib/cucumber/filters/apply_around_hooks.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/cucumber-7.1.0/lib/cucumber/filters/apply_around_hooks.rb
cucumber-7.1.0 lib/cucumber/filters/apply_around_hooks.rb
cucumber-7.0.0 lib/cucumber/filters/apply_around_hooks.rb
cucumber-6.1.0 lib/cucumber/filters/apply_around_hooks.rb