Permalink
Browse files

Fix checking phpunit extince on zsh

  • Loading branch information...
1 parent 9ac8ba0 commit 3f63c25a3f26bde18693bd6511676aa6fb393b1c @Maher4Ever committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/phpunit/runner.rb
@@ -46,7 +46,7 @@ def run(paths, options = {})
# @return [Boolean] The status of phpunit
#
def phpunit_exists?
- system('hash', 'phpunit')
+ system('which phpunit > /dev/null 2>&1')
end
# Executes the testing command on the tests

0 comments on commit 3f63c25

Please sign in to comment.