fix: respect pre-existing .env files when preparing the herokuish buildenv

Closes #4894
This commit is contained in:
Jose Diaz-Gonzalez committed 2022-01-18 02:21:12 -05:00
1 parent 3c68114ad3
commit 07f2ef1411
4 files changed
+32 -3

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bats
load test_helper
setup() {
create_app
}
teardown() {
destroy_app
}
@test "(builder-herouish:build .env)" {
run deploy_app python dokku@dokku.me:$TEST_APP
echo "output: $output"
echo "status: $status"
assert_success
assert_output_contains 'DOTENV_KEY=some_value'
}