Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
197845da
Commit
197845da
authored
Jan 17, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added tests
parent
3c3b9836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test
bin/test
+3
-0
No files found.
bin/test
View file @
197845da
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment