aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_fetch.rb
blob: 7b57c62469ccb92fa87006ab4e297dd1490eab3d (plain)
1
2
3
4
5
6
7
8
9
10
11
require "helper/integration_command_test_case"

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