Sha256: cf08c362206a1cc3441e0eb504d34535a54b94d1d3c1567996f4add669a84024

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

module CukeIterations
  class ScenarioListGenerator
    class << self
      def for_iteration(parsed_features, iteration)
        parsed_features.select do |f|
          next if (f[:tags] & iteration[:exclude_tags]).any?
          (f[:tags] & iteration[:include_tags]).any?
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuke_iterations-0.0.1 lib/cuke_iterations/scenario_list_generator.rb