spec/redhat/selinux_spec.rb in serverspec-0.9.4 vs spec/redhat/selinux_spec.rb in serverspec-0.9.5
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-include Serverspec::Helper::RedHat
+RSpec.configure do |c|
+ c.os = 'RedHat'
+end
describe selinux do
it { should be_enforcing }
its(:command) { should eq "getenforce | grep -i -- enforcing && grep -i -- ^SELINUX=enforcing$ /etc/selinux/config" }
end