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