spec/solaris/commads_spec.rb in serverspec-0.2.2 vs spec/solaris/commads_spec.rb in serverspec-0.2.3

- old
+ new

@@ -32,9 +32,13 @@ describe commands.check_running('httpd') do it { should eq "svcs -l httpd status 2> /dev/null |grep 'state online'" } end +describe commands.check_running_under_supervisor('httpd') do + it { should eq 'supervisorctl status httpd' } +end + describe commands.check_process('httpd') do it { should eq 'ps aux | grep -w httpd | grep -qv grep' } end describe commands.check_file_contain('/etc/passwd', 'root') do