.turn_on can't work for other platform, stub .enabled? instead
This commit is contained in:
parent
abae416bb0
commit
da1800f18a
@ -83,8 +83,7 @@ describe Guard::Notifier do
|
||||
end
|
||||
|
||||
describe ".notify" do
|
||||
before { subject.turn_on }
|
||||
after { subject.turn_off }
|
||||
before { subject.stub(:enabled?).and_return(true) }
|
||||
|
||||
context "on Mac OS" do
|
||||
before do
|
||||
|
Loading…
Reference in New Issue
Block a user