From 5c21bf991e83a0d259729850eb37d2ac5cd7fa99 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 19 Aug 2019 13:05:31 +0200 Subject: [PATCH] Added additional test assertion --- docs/src/test/bats/ghpages.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/test/bats/ghpages.bats b/docs/src/test/bats/ghpages.bats index af5fe8ba..6bd942d8 100644 --- a/docs/src/test/bats/ghpages.bats +++ b/docs/src/test/bats/ghpages.bats @@ -94,6 +94,7 @@ export -f stubbed_git run "${SOURCE_DIR}"/ghpages.sh assert_success + assert_output --partial "Spring Cloud Static repo is [${TEMP_DIR}]" assert_output --partial "git remote set-url --push origin https://mytoken@example1.example2/example3.git" assert_output --partial "git fetch -q" assert_output --partial "git checkout master" @@ -123,6 +124,7 @@ export -f stubbed_git run "${SOURCE_DIR}"/ghpages.sh assert_success + assert_output --partial "Spring Cloud Static repo is [${TEMP_DIR}]" assert_output --partial "git remote set-url --push origin https://mytoken@example1.example2/example3.git" assert_output --partial "git remote set-branches --add origin gh-pages" assert_output --partial "git fetch -q"