diff options
Diffstat (limited to 'test/integration/datasources_http.bats')
| -rw-r--r-- | test/integration/datasources_http.bats | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/integration/datasources_http.bats b/test/integration/datasources_http.bats deleted file mode 100644 index 4a510e8c..00000000 --- a/test/integration/datasources_http.bats +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bats - -load helper - -function setup() { - start_mirror_svc -} - -function teardown() { - stop_mirror_svc -} - -@test "HTTP datasource with headers" { - gomplate \ - -d foo=http://127.0.0.1:8080/ \ - -H foo=Foo:bar \ - -i '{{ index (datasource "foo").headers.Foo 0 }}' - [ "$status" -eq 0 ] - [[ "${output}" == "bar" ]] -} |
