Don't invoke mdfind in the tests
This commit is contained in:
parent
191e017d56
commit
3ad6fc6636
@ -34,6 +34,7 @@ class X11DependencyTests < Homebrew::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_satisfied
|
def test_satisfied
|
||||||
|
MacOS::XQuartz.stubs(:version).returns("2.7.5")
|
||||||
MacOS::XQuartz.stubs(:installed?).returns(true)
|
MacOS::XQuartz.stubs(:installed?).returns(true)
|
||||||
assert_predicate X11Dependency.new, :satisfied?
|
assert_predicate X11Dependency.new, :satisfied?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user