spec/sprinkle/verify_spec.rb in jemmyw-sprinkle-0.2.3 vs spec/sprinkle/verify_spec.rb in jemmyw-sprinkle-0.2.4
- old
+ new
@@ -100,10 +100,10 @@
it 'should check that a dpkg package is installed' do
@verification.commands.should include("dpkg -s apache2 2>&1 | grep -e '^Status:.* installed'")
end
it 'should check that a user is in passwd' do
- @verification.commands.should include('cat /etc/passwd | grep -q ^deployer')
+ @verification.commands.should include('cat /etc/passwd | grep -e \'^deployer\'')
end
it 'should check that a pear package is installed' do
@verification.commands.should include("pear list --allchannels 2>&1 | grep -e '^Log\\s*.*$'")
end
\ No newline at end of file