spec/darwin/routing_table_spec.rb in serverspec-0.11.5 vs spec/darwin/routing_table_spec.rb in serverspec-0.12.0
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
-include Serverspec::Helper::Darwin
+include SpecInfra::Helper::Darwin
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 '" }