Skip to content

Commit fe62bc0

Browse files
committed
tests: add teardown of docker stubs
1 parent 1efcaa8 commit fe62bc0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/builder-instances.bats

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ load '../lib/shared'
55

66
# export DOCKER_STUB_DEBUG=/dev/tty
77

8+
teardown() {
9+
if [[ -f "${BATS_MOCK_BINDIR}/docker" ]]; then
10+
unstub docker
11+
fi
12+
}
13+
814
@test "No Builder Instance Parameters" {
915

1016
stub docker \

0 commit comments

Comments
 (0)