Sha256: e44a158f8f4b10c9d733ab613acd28997285dde8ade4556690831d6c0e6be5cb

Contents?: true

Size: 332 Bytes

Versions: 19

Compression:

Stored size: 332 Bytes

Contents

require 'cucumber/core/filter'

module Cucumber
  module Filters
    class ApplyAfterStepHooks < Core::Filter.new(:hooks)
      def test_case(test_case)
        test_steps = hooks.find_after_step_hooks(test_case).apply(test_case.test_steps)
        test_case.with_steps(test_steps).describe_to(receiver)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
cucumber-2.99.0 lib/cucumber/filters/apply_after_step_hooks.rb
mobiusloop-0.1.5 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.4.0 lib/cucumber/filters/apply_after_step_hooks.rb
mobiusloop-0.1.3 lib/cucumber/filters/apply_after_step_hooks.rb
mobiusloop-0.1.2 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.3.3 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.3.2 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.3.1 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.3.0 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.2.0 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.1.0 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.2 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.1 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0.rc.5 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0.rc.4 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0.rc.3 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0.rc.2 lib/cucumber/filters/apply_after_step_hooks.rb
cucumber-2.0.0.rc.1 lib/cucumber/filters/apply_after_step_hooks.rb