From 95b86a38c77e2a37a67e174ceae015f69a7d36b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81my=20Coutable?= Date: Thu, 11 Aug 2011 12:09:24 +0200 Subject: [PATCH] Fix specs (hopefully) --- spec/guard/notifier_spec.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spec/guard/notifier_spec.rb b/spec/guard/notifier_spec.rb index c0b164e..3aefdd6 100644 --- a/spec/guard/notifier_spec.rb +++ b/spec/guard/notifier_spec.rb @@ -148,7 +148,8 @@ describe Guard::Notifier do Libnotify.should_receive(:show).with( :body => "great", :summary => 'Guard', - :icon_path => Pathname.new(File.dirname(__FILE__)).join('../../images/success.png').to_s + :icon_path => Pathname.new(File.dirname(__FILE__)).join('../../images/success.png').to_s, + :transient => true ) subject.notify 'great', :title => 'Guard' end @@ -164,6 +165,7 @@ describe Guard::Notifier do :body => "great", :summary => 'Guard', :icon_path => Pathname.new(File.dirname(__FILE__)).join('../../images/success.png').to_s, + :transient => true, :urgency => :critical ) subject.notify 'great', :title => 'Guard', :urgency => :critical @@ -173,7 +175,8 @@ describe Guard::Notifier do Libnotify.should_receive(:show).with( :body => "great", :summary => 'Guard', - :icon_path => '~/.guard/success.png' + :icon_path => '~/.guard/success.png', + :transient => true ) subject.notify 'great', :title => 'Guard', :icon_path => '~/.guard/success.png' end