Sha256: d6471d93ca0c8d6b071365e34567aa0dd1d1fed342103cd1e739d51431a0ae6e
Contents?: true
Size: 445 Bytes
Versions: 12
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true RSpec::Matchers.define :be_denied do |port| match do |type| type.denied?(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
12 entries across 12 versions & 1 rubygems