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
if mac?
if mac? && Guard::Darwin.usable?
it "is usable on 10.6" do
subject.should be_usable
end

View File

@ -11,7 +11,7 @@ describe Guard::Linux do
end
end
if linux?
if linux? && Guard::Linux.usable?
it "is usable on linux" do
subject.should be_usable
end