From 81aefba3055eec404b9ea3f07fa909ad082f8c06 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Sun, 14 Dec 2014 16:55:44 -0800 Subject: [PATCH] fix multipack app deploy test --- tests/apps/multi/.buildpacks | 2 +- tests/apps/multi/Procfile | 2 +- tests/apps/multi/package.json | 7 ++++--- tests/apps/multi/requirements.txt | 1 + tests/deploy/multi.bats | 1 - 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/apps/multi/.buildpacks b/tests/apps/multi/.buildpacks index b314d14c0..5467c5262 100644 --- a/tests/apps/multi/.buildpacks +++ b/tests/apps/multi/.buildpacks @@ -1,3 +1,3 @@ https://github.com/heroku/heroku-buildpack-ruby https://github.com/heroku/heroku-buildpack-nodejs -https://github.com/heroku/heroku-buildpack-python +https://github.com/heroku/heroku-buildpack-python.git diff --git a/tests/apps/multi/Procfile b/tests/apps/multi/Procfile index 2e35818f6..ca6e941cb 100644 --- a/tests/apps/multi/Procfile +++ b/tests/apps/multi/Procfile @@ -1 +1 @@ -web: python app.py +web: gunicorn app:app diff --git a/tests/apps/multi/package.json b/tests/apps/multi/package.json index 085f8d930..95de83644 100644 --- a/tests/apps/multi/package.json +++ b/tests/apps/multi/package.json @@ -5,13 +5,14 @@ "author": "Al Johri", "license": "ISC", "dependencies": { - "bower": "~1.2.8", + "bower": "^1.3.1", "grunt": "~0.4.1", "grunt-cli": "~0.1.13", "load-grunt-tasks": "~0.2.0", - "grunt-contrib-compass": "~0.6.0" + "grunt-contrib-compass": "~0.6.0", + "tmp": "0.0.23" }, "scripts": { - "postinstall": "./node_modules/bower/bin/bower --allow-root install && ./node_modules/grunt-cli/bin/grunt heroku" + "postinstall": "./node_modules/bower/bin/bower install --allow-root && ./node_modules/grunt-cli/bin/grunt heroku" } } diff --git a/tests/apps/multi/requirements.txt b/tests/apps/multi/requirements.txt index 632a1efab..f4154234b 100644 --- a/tests/apps/multi/requirements.txt +++ b/tests/apps/multi/requirements.txt @@ -1 +1,2 @@ Flask==0.10.1 +gunicorn==18.0 diff --git a/tests/deploy/multi.bats b/tests/deploy/multi.bats index e8158b313..e938e21fc 100644 --- a/tests/deploy/multi.bats +++ b/tests/deploy/multi.bats @@ -3,7 +3,6 @@ load ../unit/test_helper @test "deploy multi app" { - skip "fails on postinstall with Arguments to path.join must be strings" run bash -c "cd tests && ./test_deploy ./apps/multi dokku.me" echo "output: "$output echo "status: "$status