Merge pull request #2332 from dokku/jg-2294-apps-rename

Properly handle non-deployed applications during apps:rename
This commit is contained in:
Jose Diaz-Gonzalez
2016-07-30 15:11:57 -04:00
committed by GitHub
2 changed files with 21 additions and 5 deletions

View File

@@ -68,4 +68,17 @@ load test_helper
echo "output: "$output
echo "status: "$status
assert_success
run dokku apps:create $TEST_APP
echo "output: "$output
echo "status: "$status
assert_success
run bash -c "dokku apps:rename $TEST_APP great-test-name"
echo "output: "$output
echo "status: "$status
assert_success
run bash -c "dokku --force apps:destroy great-test-name"
echo "output: "$output
echo "status: "$status
assert_success
}