spec/darwin/matchers_spec.rb in serverspec-0.3.2 vs spec/darwin/matchers_spec.rb in serverspec-0.4.0
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-describe 'Serverspec matchers of Darwin', :os => :darwin do
+include Serverspec::Helper::Darwin
+
+describe 'Serverspec matchers of Darwin' do
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'
it_behaves_like 'support be_listening matcher', 22
it_behaves_like 'support be_file matcher', '/etc/ssh/sshd_config'