diff --git a/tests/integration/recipe_release.bats b/tests/integration/recipe_release.bats index 0b70ef53..451b7182 100644 --- a/tests/integration/recipe_release.bats +++ b/tests/integration/recipe_release.bats @@ -13,9 +13,12 @@ setup() { run git -C "$ABRA_DIR/recipes/matrix-synapse" reset --hard HEAD~3 assert_success + run git -C "$ABRA_DIR/recipes/matrix-synapse" status + assert_success + assert_output --partial 'behind 3' + run $ABRA recipe release matrix-synapse --no-input assert_failure - assert_output --regexp 'latest git tag .* are the same' run git -C "$ABRA_DIR/recipes/matrix-synapse" status refute_output --partial 'behind 3'