spec/gentoo/commands_spec.rb in serverspec-0.1.2 vs spec/gentoo/commands_spec.rb in serverspec-0.1.3
- old
+ new
@@ -33,10 +33,10 @@
describe commands.check_running('httpd') do
it { should eq 'service httpd status' }
end
describe commands.check_process('httpd') do
- it { should eq 'ps -e | grep -qw httpd' }
+ it { should eq 'ps aux | grep -qw httpd' }
end
describe commands.check_file_contain('/etc/passwd', 'root') do
it { should eq "grep -q 'root' /etc/passwd" }
end