put the VIRTUAL_HOST value in quotes

This commit is contained in:
Branden Cash 2015-10-12 14:22:24 -07:00
parent cc10cc1850
commit 9e47e307eb

View file

@ -41,7 +41,7 @@ function setup {
@test "[$TEST_FILE] VIRTUAL_HOST proxy syntax" {
# GIVEN
prepare_web_container bats-web-${TEST_FILE}-2 "80 90" -e VIRTUAL_HOST=web.bats=>http:80,web1.bats=>http:90
prepare_web_container bats-web-${TEST_FILE}-2 "80 90" -e VIRTUAL_HOST='web.bats=>http:80,web1.bats=>http:90'
# THEN
assert_response_is_from_port 80 web.bats