Files
dokku/tests/unit/apps.bats
2015-02-07 17:56:01 -08:00

27 lines
447 B
Bash

#!/usr/bin/env bats
load test_helper
APP=lifecycle-app
@test "apps:create" {
run dokku apps:create $APP
echo "output: "$output
echo "status: "$status
assert_success
}
@test "apps" {
run bash -c "dokku apps | grep $APP"
echo "output: "$output
echo "status: "$status
assert_output $APP
}
@test "apps:destroy" {
run bash -c "dokku --force apps:destroy $APP"
echo "output: "$output
echo "status: "$status
assert_success
}