brew/Library/Homebrew/test/fetch_test.rb
2016-11-16 23:52:38 +01:00

12 lines
277 B
Ruby

require "testing_env"
class IntegrationCommandTestFetch < IntegrationCommandTestCase
def test_fetch
setup_test_formula "testball"
cmd("fetch", "testball")
assert((HOMEBREW_CACHE/"testball-0.1.tbz").exist?,
"The tarball should have been cached")
end
end