blob: 73618293bc8e88408df54412723c071118c6cf2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require "helper/integration_command_test_case"
class IntegrationCommandTestUpgrade < IntegrationCommandTestCase
def test_upgrade
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
cmd("upgrade")
assert((HOMEBREW_CELLAR/"testball/0.1").directory?,
"The latest version directory should be created")
end
end
|