forked from toolshed/abra
feat: template example domain in release notes
See toolshed/organising#521
This commit is contained in:
@ -205,6 +205,18 @@ teardown(){
|
||||
refute_output --partial 'release notes baz' # 0.2.0+1.21.0
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "template <recipe>.example.com in release note" {
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" "0.3.4+1.21.0" --no-input --no-converge-checks
|
||||
assert_success
|
||||
assert_output --partial '0.3.4+1.21.0'
|
||||
|
||||
run $ABRA app upgrade "$TEST_APP_DOMAIN" "0.3.5+1.21.0" --no-input --no-converge-checks
|
||||
assert_success
|
||||
assert_output --partial '0.3.5+1.21.0'
|
||||
refute_output --partial 'abra-test-recipe.local' # 0.3.5+1.21.0
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "show multiple release notes" {
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" "0.1.0+1.20.0" --no-input --no-converge-checks
|
||||
|
Reference in New Issue
Block a user