fail rest of bats file on first test failure

This commit is contained in:
Michael Hobbs committed 2016-08-25 09:27:06 -07:00
1 parent 4e4c8cebc4
commit e23e491967
24 files changed
+66

No files matched your search

+2
View File
@@ -3,6 +3,7 @@
load test_helper
setup() {
global_setup
[[ -f ${DOKKU_ROOT}/ENV ]] && mv -f ${DOKKU_ROOT}/ENV ${DOKKU_ROOT}/ENV.bak
sudo -H -u dokku /bin/bash -c "echo 'export global_test=true' > ${DOKKU_ROOT}/ENV"
create_app
@@ -14,6 +15,7 @@ teardown() {
if [[ -f ${DOKKU_ROOT}/ENV.bak ]];then
mv -f ${DOKKU_ROOT}/ENV.bak ${DOKKU_ROOT}/ENV
fi
global_teardown
}
@test "(config) config:set --global" {