Sha256: 9fa440cfe3bda659c4941a695bb4def3c99120534a14fb834fb0063219fa137c
Contents?: true
Size: 424 Bytes
Versions: 6
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' include Specinfra::Helper::RedHat 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