diff --git a/docs/pom.xml b/docs/pom.xml index c2d981a0..9e101941 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -209,7 +209,6 @@ ${skipTests} - true ${basedir}/src/test/bash/run-bats.sh diff --git a/docs/src/test/bash/build-helper.sh b/docs/src/test/bash/build-helper.sh index fea326b4..8308c252 100755 --- a/docs/src/test/bash/build-helper.sh +++ b/docs/src/test/bash/build-helper.sh @@ -59,6 +59,8 @@ case $1 in exit 0 fi git clone https://github.com/bats-core/bats-core.git "${ROOT_DIR}/../target/bats" + git clone https://github.com/ztombol/bats-support.git "${ROOT_DIR}/target/test_helper/bats-support" + git clone https://github.com/ztombol/bats-assert "${ROOT_DIR}/target/test_helper/bats-assert" ;; run-bats) echo "Running bats" diff --git a/docs/src/test/bats/ghpages.bats b/docs/src/test/bats/ghpages.bats index 6bd942d8..54ae2376 100644 --- a/docs/src/test/bats/ghpages.bats +++ b/docs/src/test/bats/ghpages.bats @@ -1,8 +1,8 @@ #!/usr/bin/env bats load 'test_helper' -load 'test_helper/bats-support/load' -load 'test_helper/bats-assert/load' +load '../../../target/test_helper/bats-support/load' +load '../../../target/test_helper/bats-assert/load' setup() { export TEMP_DIR="$( mktemp -d )" diff --git a/docs/src/test/bats/update-guides.bats b/docs/src/test/bats/update-guides.bats index fc7871bc..e45a3183 100644 --- a/docs/src/test/bats/update-guides.bats +++ b/docs/src/test/bats/update-guides.bats @@ -1,8 +1,8 @@ #!/usr/bin/env bats load 'test_helper' -load 'test_helper/bats-support/load' -load 'test_helper/bats-assert/load' +load '../../../target/test_helper/bats-support/load' +load '../../../target/test_helper/bats-assert/load' setup() { export TEMP_DIR="$( mktemp -d )"