Sha256: 87b2d9f496d9cca3050a0ccac96319c774c836258c8012f95530bf66d7bc5708
Contents?: true
Size: 447 Bytes
Versions: 13
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true RSpec::Matchers.define :be_allowed do |port| match do |type| type.allowed?(port, @protocol, @cidr, @rule_number) end chain :protocol do |protocol| @protocol = protocol end chain :for do |cidr| @cidr = cidr end chain :target do |cidr| @cidr = cidr end chain :source do |cidr| @cidr = cidr end chain :rule_number do |rule_number| @rule_number = rule_number end end
Version data entries
13 entries across 13 versions & 1 rubygems