diff --git a/example/docker-compose.integration-tests.yml b/example/docker-compose.integration-tests.yml index 074f4d1..ce6ded7 100644 --- a/example/docker-compose.integration-tests.yml +++ b/example/docker-compose.integration-tests.yml @@ -7,10 +7,10 @@ services: volumes: - "./integration-tests:/integration-tests" - "./screenshots:/screenshots" - command: "wait-for-it.sh app:80 -- mocha --recursive /integration-tests" + command: "wait-for-it.sh web:80 -- mocha --recursive /integration-tests" links: - - app - app: + - web + web: image: tutum/hello-world expose: - "80" diff --git a/example/integration-tests/index.test.js b/example/integration-tests/index.test.js index dd39d8a..417cbd9 100644 --- a/example/integration-tests/index.test.js +++ b/example/integration-tests/index.test.js @@ -34,7 +34,7 @@ after(async() => { describe('App', () => { it('renders', async() => { - const response = await page.goto('http://app/') + const response = await page.goto('http://web/') assert(response.ok()) await page.screenshot({ path: `/screenshots/app.png` }) })