lib/guard/rspec/formatters/notifier.rb in guard-rspec-4.0.2 vs lib/guard/rspec/formatters/notifier.rb in guard-rspec-4.0.3
- old
+ new
@@ -31,10 +31,11 @@
:success
end
end
def _notify(message, status)
- Guard::Notifier.notify(message, title: 'RSpec results', image: status, priority: _priority(status))
+ ::Guard::Notifier.turn_on(silent: true)
+ ::Guard::Notifier.notify(message, title: 'RSpec results', image: status, priority: _priority(status))
end
def _priority(status)
{ failed: 2,
pending: -1,