spec/solaris/commands_spec.rb in serverspec-0.6.23 vs spec/solaris/commands_spec.rb in serverspec-0.6.24
- old
+ new
@@ -1,23 +1,12 @@
require 'spec_helper'
include Serverspec::Helper::Solaris
describe 'Serverspec commands of Solaris family' do
-
- it_behaves_like 'support command check_user', 'root'
- it_behaves_like 'support command check_user', 'wheel'
-
it_behaves_like 'support command check_running_under_supervisor', 'httpd'
it_behaves_like 'support command check_monitored_by_monit', 'unicorn'
it_behaves_like 'support command check_process', 'httpd'
-
- it_behaves_like 'support command check_uid', 'root', 0
-
- it_behaves_like 'support command check_login_shell', 'root', '/bin/bash'
- it_behaves_like 'support command check_home_directory', 'root', '/root'
-
- it_behaves_like 'support command check_authorized_key'
end
describe 'check_enabled' do
subject { commands.check_enabled('httpd') }
it { should eq "svcs -l httpd 2> /dev/null | egrep '^enabled *true$'" }