Skipped Darwin/Linux listener specs if rb-fsevent/rb-inotify not available
This commit is contained in:
parent
869ed2fa28
commit
f7e9e42dce
@ -10,7 +10,7 @@ describe Guard::Darwin do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if mac?
|
if mac? && Guard::Darwin.usable?
|
||||||
it "is usable on 10.6" do
|
it "is usable on 10.6" do
|
||||||
subject.should be_usable
|
subject.should be_usable
|
||||||
end
|
end
|
||||||
|
@ -11,7 +11,7 @@ describe Guard::Linux do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if linux?
|
if linux? && Guard::Linux.usable?
|
||||||
it "is usable on linux" do
|
it "is usable on linux" do
|
||||||
subject.should be_usable
|
subject.should be_usable
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user