mirror of
https://github.com/dokku/dokku.git
synced 2026-09-02 12:10:09 +02:00
27 lines
451 B
Bash
Executable File
27 lines
451 B
Bash
Executable File
#!/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 "echo $APP | dokku apps:destroy $APP"
|
|
echo "output: "$output
|
|
echo "status: "$status
|
|
assert_success
|
|
}
|