Sha256: 2d05cb1a29dc3c43ceb5a0dae7799d253fb6aa2395df8398a3430c865a85214d

Contents?: true

Size: 266 Bytes

Versions: 47

Compression:

Stored size: 266 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris

describe ipnat do
  it { should have_rule 'map net1 192.168.0.0/24 -> 0.0.0.0/32' }
  its(:command) { should eq "ipnat -l 2> /dev/null | grep -- \\^map\\ net1\\ 192.168.0.0/24\\ -\\>\\ 0.0.0.0/32\\$" }
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/solaris/ipnat_spec.rb
serverspec-0.11.4 spec/solaris/ipnat_spec.rb
serverspec-0.11.3 spec/solaris/ipnat_spec.rb
serverspec-0.11.2 spec/solaris/ipnat_spec.rb
serverspec-0.11.1 spec/solaris/ipnat_spec.rb
serverspec-0.11.0 spec/solaris/ipnat_spec.rb
serverspec-0.10.13 spec/solaris/ipnat_spec.rb
serverspec-0.10.12 spec/solaris/ipnat_spec.rb
serverspec-0.10.11 spec/solaris/ipnat_spec.rb
serverspec-0.10.10 spec/solaris/ipnat_spec.rb
serverspec-0.10.9 spec/solaris/ipnat_spec.rb
serverspec-0.10.8 spec/solaris/ipnat_spec.rb
serverspec-0.10.7 spec/solaris/ipnat_spec.rb
serverspec-0.10.6 spec/solaris/ipnat_spec.rb
serverspec-0.10.5 spec/solaris/ipnat_spec.rb
serverspec-0.10.4 spec/solaris/ipnat_spec.rb
serverspec-0.10.3 spec/solaris/ipnat_spec.rb
serverspec-0.10.2 spec/solaris/ipnat_spec.rb
serverspec-0.10.1 spec/solaris/ipnat_spec.rb
serverspec-0.10.0 spec/solaris/ipnat_spec.rb