Permalink
Browse files

Make sure we don't notify as per the tests

  • Loading branch information...
nevir committed Mar 25, 2012
1 parent b076808 commit f8c55c3e1ef925ee6433d819b0532bed83d2f2d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/rspec/runner.rb
@@ -91,7 +91,7 @@ def rspec_command(paths, opts)
def run_via_shell(paths, opts)
success = system(rspec_command(paths, opts))
- if @options[:notification] && !success && rspec_command_exited_with_an_exception?
+ if @options[:notification] && !drb_used? && !success && rspec_command_exited_with_an_exception?
Notifier.notify("Failed", :title => "RSpec results", :image => :failed, :priority => 2)
end

0 comments on commit f8c55c3

Please sign in to comment.