forked from toolshed/abra
test: no args for helpers, fix recipe_* tests [ci skip]
This commit is contained in:
@ -53,7 +53,7 @@ teardown(){
|
||||
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
|
||||
_checkout_recipe "$TEST_RECIPE"
|
||||
_checkout_recipe
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@ -78,7 +78,7 @@ teardown(){
|
||||
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
|
||||
_checkout_recipe "$TEST_RECIPE"
|
||||
_checkout_recipe
|
||||
}
|
||||
|
||||
@test "ensure recipe up to date if no --offline" {
|
||||
@ -142,7 +142,7 @@ teardown(){
|
||||
assert_failure
|
||||
assert_output --partial 'no backup config for app'
|
||||
|
||||
_checkout_recipe "$TEST_RECIPE"
|
||||
_checkout_recipe
|
||||
}
|
||||
|
||||
@test "error if backup paths not configured" {
|
||||
@ -153,7 +153,7 @@ teardown(){
|
||||
assert_failure
|
||||
assert_output --partial 'backup paths are empty for app?'
|
||||
|
||||
_checkout_recipe "$TEST_RECIPE"
|
||||
_checkout_recipe
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
|
Reference in New Issue
Block a user