Permalink
Browse files

Allow disabling cucumber even if features directory is present

  • Loading branch information...
1 parent 6f9e6e5 commit 625aca27fa9db8d182083af1ea7830f0a666160c @donaldpiret committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/spork/runner.rb
@@ -106,7 +106,7 @@ def wait_for_launch(instances, wait)
end
def should_use?(what)
- options[what] || send("detect_#{what}")
+ options[what].nil? send("detect_#{what}") : options[what]
end
def detect_bundler

0 comments on commit 625aca2

Please sign in to comment.