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

14 lines
328 B
Ruby

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