abra/tests/integration/recipe_fetch.bats
decentral1se 0be532692d
Some checks failed
continuous-integration/drone/pr Build is failing
test: moar integration tests [ci skip]
2023-09-20 13:51:06 +02:00

17 lines
351 B
Bash

#!/usr/bin/env bash
setup() {
load "$PWD/tests/integration/helpers/common"
_common_setup
}
@test "recipe fetch" {
run rm -rf "$ABRA_DIR/recipes/matrix-synapse"
assert_success
assert_not_exists "$ABRA_DIR/recipes/matrix-synapse"
run $ABRA recipe fetch matrix-synapse
assert_success
assert_exists "$ABRA_DIR/recipes/matrix-synapse"
}