From 67d73cf6a65ffb15266ee1067715023f2046fb07 Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Wed, 12 Oct 2011 21:03:59 +0200 Subject: [PATCH] Avoid warnings on 1.8.7 --- spec/guard/notifier_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/guard/notifier_spec.rb b/spec/guard/notifier_spec.rb index b491b08..557fbf8 100644 --- a/spec/guard/notifier_spec.rb +++ b/spec/guard/notifier_spec.rb @@ -52,6 +52,7 @@ describe Guard::Notifier do context "with the GNTP library available" do before do class ::GNTP + def initialize(app); end def register(config) ; end end end @@ -246,6 +247,7 @@ describe Guard::Notifier do context 'with ruby_gntp gem' do before do described_class.growl_library = :ruby_gntp + described_class.gntp = Object.new end it "passes a success notification to Ruby GNTP" do