brew/Library/Homebrew/test/fetch_test.rb

12 lines
277 B
Ruby
Raw Normal View History

require "testing_env"
2016-09-27 00:03:40 +02:00
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