Open ericgross opened 9 years ago
I think this should be reported in the notiffany project, where the symbol should be properly translated into a filename (containing a path to one of notiffany's icons).
Could you report it there? Thanks!
@ericgross Were you able to come up with a workaround for this issue?
I'd like a test case for this, because I don't use ruby_gntp.
Here's the notifier code in Guard::RSpec
It passes :image
which is one of: :failed
, :pending
, :success
.
Here's the notifier from Guard::Cucumber
Which also passes one of those options: https://github.com/guard/guard-cucumber/blob/bcc8a79386adfe863fec288c7dcf364cadb93914/lib/guard/cucumber/notification_formatter.rb#L137
So I have no idea how Guard::RSpec works but Guard::Cucumber doesn't.
Does the simple Notiffany example work properly?
https://github.com/guard/notiffany#usage
Notiffany should be translating the :image
option as here:
... and translate it to a file as here:
So I'm not sure what exactly isn't working and I'm a Linux user so AFAIK. I don't have time to set up a http://www.macincloud.com reproducing the problem, so I can't do much until someone points out where the bug is.
(If I get a reasonably non-invasive PR I can merge and quickly release).
I am using ruby_gntp to send notifications and it works for RSpec, but Cucumber is causing
In this case, icon is :passed and type is "Notification".