Skipped Darwin/Linux listener specs if rb-fsevent/rb-inotify not available

This commit is contained in:
Thibaud Guillaume-Gentil 2011-05-06 21:15:33 +02:00
parent 869ed2fa28
commit f7e9e42dce
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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