Avoid warnings on 1.8.7
This commit is contained in:
parent
6094451cfb
commit
67d73cf6a6
@ -52,6 +52,7 @@ describe Guard::Notifier do
|
|||||||
context "with the GNTP library available" do
|
context "with the GNTP library available" do
|
||||||
before do
|
before do
|
||||||
class ::GNTP
|
class ::GNTP
|
||||||
|
def initialize(app); end
|
||||||
def register(config) ; end
|
def register(config) ; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -246,6 +247,7 @@ describe Guard::Notifier do
|
|||||||
context 'with ruby_gntp gem' do
|
context 'with ruby_gntp gem' do
|
||||||
before do
|
before do
|
||||||
described_class.growl_library = :ruby_gntp
|
described_class.growl_library = :ruby_gntp
|
||||||
|
described_class.gntp = Object.new
|
||||||
end
|
end
|
||||||
|
|
||||||
it "passes a success notification to Ruby GNTP" do
|
it "passes a success notification to Ruby GNTP" do
|
||||||
|
Loading…
Reference in New Issue
Block a user