Skip to content

Commit

Permalink
Make sure we don't notify as per the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nevir committed Mar 25, 2012
1 parent b076808 commit f8c55c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rspec/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f8c55c3

Please sign in to comment.