Files
dokku/tests/unit/nginx-vhosts.bats
2014-12-23 23:08:22 -08:00

21 lines
341 B
Bash

#!/usr/bin/env bats
load test_helper
setup() {
create_app
setup_test_tls
deploy_app
}
teardown() {
destroy_app
}
@test "nginx:build-config (with SSL CN mismatch)" {
run /bin/bash -c "dokku domains $TEST_APP | grep node-js-app.dokku.me"
echo "output: "$output
echo "status: "$status
assert_output "node-js-app.dokku.me"
}