Sha256: a7ab1eb7c6875274f7d3fddf684961d77c48da5be3a17b8694acb01242446540
Contents?: true
Size: 311 Bytes
Versions: 14
Compression:
Stored size: 311 Bytes
Contents
# frozen_string_literal: true RSpec::Matchers.define :be_opened_only do |port| match do |sg| sg.opened_only?(port, @protocol, @cidr) end chain :protocol do |protocol| @protocol = protocol end chain :for do |cidr| @cidr = cidr end chain :target do |cidr| @cidr = cidr end end
Version data entries
14 entries across 14 versions & 1 rubygems