forked from toolshed/abra
@ -49,7 +49,7 @@ teardown(){
|
||||
|
||||
assert_equal $(_get_tag_hash 0.3.0+1.21.0) $(_get_current_hash)
|
||||
|
||||
run grep -q "RECIPE=$TEST_RECIPE:0.3.0+1.21.0" \
|
||||
run grep -q "TYPE=$TEST_RECIPE:0.3.0+1.21.0" \
|
||||
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
|
||||
assert_success
|
||||
}
|
||||
@ -65,7 +65,7 @@ teardown(){
|
||||
currentHash=$(_get_current_hash)
|
||||
assert_equal 1e83340e ${currentHash:0:8}
|
||||
|
||||
run grep -q "RECIPE=$TEST_RECIPE:1e83340e" \
|
||||
run grep -q "TYPE=$TEST_RECIPE:1e83340e" \
|
||||
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
|
||||
assert_success
|
||||
}
|
||||
|
@ -231,8 +231,7 @@ teardown(){
|
||||
|
||||
run $ABRA app secret rm "$TEST_APP_DOMAIN" test_pass_one --all
|
||||
assert_failure
|
||||
assert_output --partial 'cannot use'
|
||||
assert_output --partial "'--all' together"
|
||||
assert_output --regexp 'cannot use .* together'
|
||||
}
|
||||
|
||||
@test "rm: single secret no match" {
|
||||
|
Reference in New Issue
Block a user