Commit 197845da authored by Hunter Loftis's avatar Hunter Loftis

added tests

parent 3c3b9836
......@@ -41,6 +41,7 @@ testNoVersion() {
assertCaptured "WARNING: Node version not specified in package.json"
assertCaptured "Resolving node version (latest stable) via semver.io"
assertCaptured "Downloading and installing node 0.10"
assertNotCaptured "We're sorry this build is failing"
assertCapturedSuccess
}
......@@ -49,12 +50,14 @@ testSpecificVersion() {
assertNotCaptured "Resolving node version"
assertCaptured "Downloading and installing node 0.10.29"
assertCaptured "Using default npm version: 1.4.14"
assertNotCaptured "We're sorry this build is failing"
assertCapturedSuccess
}
testStableVersion() {
compile "stable-node"
assertCaptured "Downloading and installing node 0.10"
assertNotCaptured "We're sorry this build is failing"
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