spec/freebsd/routing_table_spec.rb in serverspec-0.11.1 vs spec/freebsd/routing_table_spec.rb in serverspec-0.11.2

- old
+ new

@@ -1,9 +1,7 @@ require 'spec_helper' -RSpec.configure do |c| - c.os = 'FreeBSD' -end +include Serverspec::Helper::FreeBSD describe routing_table do let(:stdout) { "192.168.100.0/24 dev eth1 proto kernel scope link src 192.168.100.10 \r\ndefault via 192.168.100.1 dev eth0 \r\n" } it { should have_entry( :destination => '192.168.100.0/24' ) } its(:command) { should eq "ip route | grep -E '^192.168.100.0/24 |^default '" }