diff --git a/bin/test b/bin/test index 82434d1b1..0f037627d 100755 --- a/bin/test +++ b/bin/test @@ -4,29 +4,30 @@ # Create a Heroku app with the following buildpack: # https://github.com/ddollar/buildpack-test # -# Push this buildpack to the Heroku app to run the tests +# Push this Node.js buildpack to that Heroku app to +# run the tests # testDetectWithPackageJson() { - detect package-json-version + detect "package-json-version" assertCaptured "Node.js" assertCapturedSuccess } testDetectWithoutPackageJson() { - detect no-package-json + detect "no-package-json" assertCapturedError 1 "" } testPackageJsonWithVersion() { - compile package-json-version + compile "package-json-version" assertCaptured "Using Node.js version: 0.6.11" assertCaptured "Using npm version: 1.1.9" assertCapturedSuccess } testPackageJsonWithNoVersion() { - compile package-json-noversion + compile "package-json-noversion" assertCaptured "Using Node.js version: 0.4.7" assertCaptured "Using npm version: 1.0.106" assertCapturedSuccess