Sha256: 5aacb2f2fd49403297128ca319519debab153af081185cc02e9176a42656b661
Contents?: true
Size: 422 Bytes
Versions: 20
Compression:
Stored size: 422 Bytes
Contents
RSpec::Matchers.define :be_denied do |port| match do |resource| resource.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
20 entries across 20 versions & 1 rubygems