spec/freebsd/default_gateway_spec.rb in serverspec-0.11.1 vs spec/freebsd/default_gateway_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 default_gateway do
let(:stdout) { "default via 192.168.1.1 dev eth1 \r\n" }
its(:ipaddress) { should eq '192.168.1.1' }