Sha256: e0595c87ffb4f912b86b3c27d85d4e7e2c660156c193b3bf62aea253e2b0b7d9
Contents?: true
Size: 563 Bytes
Versions: 75
Compression:
Stored size: 563 Bytes
Contents
module Pact module Cli class SpecCriteria def self.call options criteria = {} criteria[:description] = Regexp.new(options[:description]) if options[:description] provider_state = options[:provider_state] if provider_state if provider_state.length == 0 criteria[:provider_state] = nil #Allow PACT_PROVIDER_STATE="" to mean no provider state else criteria[:provider_state] = Regexp.new(provider_state) end end criteria end end end end
Version data entries
75 entries across 75 versions & 1 rubygems