spec/gentoo/default_gateway_spec.rb in serverspec-0.11.1 vs spec/gentoo/default_gateway_spec.rb in serverspec-0.11.2
- old
+ new
@@ -1,9 +1,7 @@
require 'spec_helper'
-RSpec.configure do |c|
- c.os = 'Gentoo'
-end
+include Serverspec::Helper::Gentoo
describe default_gateway do
let(:stdout) { "default via 192.168.1.1 dev eth1 \r\n" }
its(:ipaddress) { should eq '192.168.1.1' }