Commit a8a953e6 authored by David Dollar's avatar David Dollar

prettify

parent 5b757693
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment