spec/solaris/ipnat_spec.rb in serverspec-0.6.28 vs spec/solaris/ipnat_spec.rb in serverspec-0.6.29
- old
+ new
@@ -2,6 +2,7 @@
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