.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
|
end
|
||||||
|
|
||||||
describe ".notify" do
|
describe ".notify" do
|
||||||
before { subject.turn_on }
|
before { subject.stub(:enabled?).and_return(true) }
|
||||||
after { subject.turn_off }
|
|
||||||
|
|
||||||
context "on Mac OS" do
|
context "on Mac OS" do
|
||||||
before do
|
before do
|
||||||
|
Loading…
Reference in New Issue
Block a user