spec/redhat/service_spec.rb in serverspec-0.9.4 vs spec/redhat/service_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 service('sshd') do
it { should be_enabled }
its(:command) { should eq "chkconfig --list sshd | grep 3:on" }
end