From 17561eb47b671e923777173cb4c39c637b7139c6 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 28 Mar 2019 22:36:46 +0100 Subject: [PATCH] Should work --- docs/src/test/bats/ghpages.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test/bats/ghpages.bats b/docs/src/test/bats/ghpages.bats index 2307ffb9..3fb9567f 100644 --- a/docs/src/test/bats/ghpages.bats +++ b/docs/src/test/bats/ghpages.bats @@ -219,14 +219,14 @@ export -f stubbed_git } @test "should retrieve the name of the current branch" { - export GIT_BIN="printing_git" + export GIT_BIN="stubbed_git" cd "${TEMP_DIR}/spring-cloud-stream/" source "${SOURCE_DIR}"/ghpages.sh run retrieve_current_branch assert_success - assert_output --partial "git checkout git symbolic-ref -q HEAD" + assert_output --partial "git checkout master" } @test "should retrieve the name of the current branch when previous branch was set" {