Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prettify

  • Loading branch information...
commit a8a953e600d80bf793b4c2328df0602730d790e4 1 parent 5b75769
@ddollar ddollar authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 bin/test
View
11 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
Please sign in to comment.
Something went wrong with that request. Please try again.