Sha256: 19438868697848ada83a7eab8380030f950bd021f163f824172c9ea4015f74c6
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
require 'cql/filters' module CQL class SsoLineCountFilter < TypeCountFilter def type_count(test) test.steps.size end end class LineFilter < ContentMatchFilter def execute(input) input.find_all do |tests| raw_step_lines = tests.steps.map { |step| step.base } content_match?(raw_step_lines) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cql-1.1.0 | lib/cql/sso_filters.rb |
cql-1.0.1 | lib/cql/sso_filters.rb |
cql-1.0.0 | lib/cql/sso_filters.rb |