diff --git a/spec/guard/listeners/darwin_spec.rb b/spec/guard/listeners/darwin_spec.rb index 7a562f1..6168f49 100644 --- a/spec/guard/listeners/darwin_spec.rb +++ b/spec/guard/listeners/darwin_spec.rb @@ -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 diff --git a/spec/guard/listeners/linux_spec.rb b/spec/guard/listeners/linux_spec.rb index ba5d86f..bbdffba 100644 --- a/spec/guard/listeners/linux_spec.rb +++ b/spec/guard/listeners/linux_spec.rb @@ -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