aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-03 12:45:10 -0500
committerJack Nagel2014-07-03 13:02:26 -0500
commit3ad6fc6636a2ae30ab1060fa5c77bb26d828ae6d (patch)
tree86c6452e5d1a0d29b53bee63b60a1a107ccd2e2f /Library
parent191e017d56d721e3dbc004d2fc75e12eb7801c34 (diff)
downloadbrew-3ad6fc6636a2ae30ab1060fa5c77bb26d828ae6d.tar.bz2
Don't invoke mdfind in the tests
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_x11_dependency.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_x11_dependency.rb b/Library/Homebrew/test/test_x11_dependency.rb
index 31fa92d07..f174c8e23 100644
--- a/Library/Homebrew/test/test_x11_dependency.rb
+++ b/Library/Homebrew/test/test_x11_dependency.rb
@@ -34,6 +34,7 @@ class X11DependencyTests < Homebrew::TestCase
end
def test_satisfied
+ MacOS::XQuartz.stubs(:version).returns("2.7.5")
MacOS::XQuartz.stubs(:installed?).returns(true)
assert_predicate X11Dependency.new, :satisfied?