aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/fetch_test.rb
blob: e08e545e3bb41fde893e8e459f35be1a1dab59d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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