Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prevent tmux output from messing up spec output

  • Loading branch information...
commit ed1bb0fc5298ddb90f1039cc0825d92a537c227e 1 parent d6d369c
Adam Spiers authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/guard/notifiers/tmux.rb
View
5 lib/guard/notifiers/tmux.rb
@@ -163,6 +163,11 @@ def turn_off(options = { })
private
+ def system(args)
+ args += " >/dev/null 2>&1" if ENV['GUARD_ENV'] == 'test'
+ super
+ end
+
def run_client(args)
system("#{ DEFAULTS[:client] } #{args}")
end
Please sign in to comment.
Something went wrong with that request. Please try again.