spec/gentoo/iptables_spec.rb in serverspec-0.9.4 vs spec/gentoo/iptables_spec.rb in serverspec-0.9.5
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-include Serverspec::Helper::Gentoo
+RSpec.configure do |c|
+ c.os = 'Gentoo'
+end
describe iptables do
it { should have_rule '-P INPUT ACCEPT' }
its(:command) { should eq "iptables -S | grep -- -P\\ INPUT\\ ACCEPT" }
end