spec/redhat/matchers_spec.rb in serverspec-0.3.2 vs spec/redhat/matchers_spec.rb in serverspec-0.4.0
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-describe 'Serverspec matchers of Red Hat family', :os => :redhat do
+include Serverspec::Helper::RedHat
+
+describe 'Serverspec matchers of Red Hat family' do
it_behaves_like 'support be_enabled matcher', 'sshd'
it_behaves_like 'support be_installed matcher', 'openssh'
it_behaves_like 'support be_running matcher', 'sshd'
it_behaves_like 'support be_running.under("supervisor") matcher', 'growthforecast'
it_behaves_like 'support be_running.under("not implemented") matcher', 'growthforecast'