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

added tests

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