forked from toolshed/abra
test: reset recipe in file teardown
This commit is contained in:
@ -9,6 +9,7 @@ setup_file(){
|
||||
|
||||
teardown_file(){
|
||||
_rm_server
|
||||
_reset_recipe
|
||||
}
|
||||
|
||||
setup(){
|
||||
@ -76,7 +77,7 @@ setup(){
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
refute_output --partial 'behind 3'
|
||||
|
||||
_reset_recipe "$TEST_RECIPE"
|
||||
_reset_recipe
|
||||
}
|
||||
|
||||
@test "ensure recipe not up to date if --offline" {
|
||||
@ -92,7 +93,7 @@ setup(){
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
assert_output --partial 'behind 3'
|
||||
|
||||
_reset_recipe "$TEST_RECIPE"
|
||||
_reset_recipe
|
||||
}
|
||||
|
||||
@test "error if missing .env.sample" {
|
||||
|
Reference in New Issue
Block a user