forked from toolshed/abra
@ -137,3 +137,16 @@ teardown(){
|
||||
assert_output --partial "$latestRelease"
|
||||
assert_output --partial "${headHash:0:8}" # is a chaos deploy
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "ensure live chaos commit is shown" {
|
||||
headHash=$(_get_head_hash)
|
||||
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" "0f5a0570" --no-input
|
||||
assert_success
|
||||
|
||||
run $ABRA app ps "$TEST_APP_DOMAIN"
|
||||
assert_success
|
||||
assert_output --partial "0f5a0570" # is not latest HEAD
|
||||
refute_output --partial "${headHash:0:8}"
|
||||
}
|
||||
|
Reference in New Issue
Block a user