Test that we pull in env host variables

Now that clear env variables specified on the command line we can check
that values specified as `${VAR}` are pulled in from the host.
This commit is contained in:
Donal McBreen
2024-03-25 12:26:37 +00:00
parent 49afdbb09a
commit 5481fbb973
3 changed files with 5 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ class MainTest < IntegrationTest
assert_app_is_up version: first_version
assert_hooks_ran "pre-connect", "pre-build", "pre-deploy", "post-deploy"
assert_env :CLEAR_TOKEN, "4321", version: first_version
assert_env :HOST_TOKEN, "abcd", version: first_version
assert_env :SECRET_TOKEN, "1234", version: first_version
second_version = update_app_rev