Skip to content

Commit

Permalink
Merge pull request #11 from tomharvey/issue_10
Browse files Browse the repository at this point in the history
filtering the grep process from the process checking test
  • Loading branch information
Pierozi authored Dec 22, 2016
2 parents 8ef7cb0 + d17d73b commit ade591c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
it { should be_enabled }
end

describe command('ps -ax | grep "codedeploy-agent: InstanceAgent"') do
describe command('ps -ax | grep "codedeploy-agent: InstanceAgent" | grep -v grep') do
its(:stdout) { should match /codedeploy-agent: InstanceAgent/ }
end

0 comments on commit ade591c

Please sign in to comment.