Sha256: 3c5d76028658ce7e6cc7ae5297f4cf82eb9fd7798c4fa9d4d02a61476ada1f91
Contents?: true
Size: 417 Bytes
Versions: 6
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' set :os, :family => 'linux' describe iptables do it { should have_rule '-P INPUT ACCEPT' } end describe iptables do it { should_not have_rule 'invalid-rule' } end describe iptables do it { should have_rule('-P INPUT ACCEPT').with_table('mangle').with_chain('INPUT') } end describe iptables do it { should_not have_rule('invalid-rule').with_table('mangle').with_chain('INPUT') } end
Version data entries
6 entries across 6 versions & 1 rubygems