aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/unpack_test.rb
blob: bbff6ad1c49bc2ea591068ced559353a17bbf0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "testing_env"

class IntegrationCommandTestUnpack < IntegrationCommandTestCase
  def test_unpack
    setup_test_formula "testball"

    mktmpdir do |path|
      cmd "unpack", "testball", "--destdir=#{path}"
      assert File.directory?("#{path}/testball-0.1"),
        "The tarball should be unpacked"
    end
  end
end