Sha256: f86717ab92076e0416eb943fdfc6d4a8f910cfc831fcaf0f98b8652457800c84

Contents?: true

Size: 233 Bytes

Versions: 85

Compression:

Stored size: 233 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 have_rule('-P INPUT ACCEPT').with_table('mangle').with_chain('INPUT') }
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.1.0 spec/type/linux/iptables_spec.rb
serverspec-2.0.1 spec/type/linux/iptables_spec.rb
serverspec-2.0.0 spec/type/linux/iptables_spec.rb
serverspec-2.0.0.beta21 spec/type/linux/iptables_spec.rb
serverspec-2.0.0.beta20 spec/type/linux/iptables_spec.rb