Test that X11 env is triggered correctly

This commit is contained in:
Jack Nagel 2013-04-01 18:56:14 -05:00
parent 115501d42f
commit d2ae810b76

View File

@ -46,6 +46,13 @@ class X11DependencyTests < Test::Unit::TestCase
assert !x.eql?(p) assert !x.eql?(p)
assert !p.eql?(x) assert !p.eql?(x)
end end
def test_x_env
x = X11Dependency.new
x.stubs(:satisfied?).returns(true)
ENV.expects(:x11)
x.modify_build_environment
end
end end
class X11DepCollectionTests < Test::Unit::TestCase class X11DepCollectionTests < Test::Unit::TestCase