Skip to content

Commit

Permalink
update profile path tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterloftis committed Nov 3, 2015
1 parent 381f36f commit b302525
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -456,16 +456,16 @@ testShrinkwrap() {
testProfileExport() {
compile "stable-node"
assertCaptured "Creating runtime environment"
assertFileContains "export PATH=\"\$HOME/.heroku/node/bin:\$HOME/bin:\$HOME/node_modules/.bin:\$PATH\"" "${compile_dir}/.profile.d/nodejs.sh"
assertFileContains "export PATH=\"\$HOME/.heroku/node/bin:\$PATH:\$HOME/bin:\$HOME/node_modules/.bin\"" "${compile_dir}/.profile.d/nodejs.sh"
assertFileContains "export NODE_HOME=\"\$HOME/.heroku/node\"" "${compile_dir}/.profile.d/nodejs.sh"
assertCapturedSuccess
}

testMultiExport() {
compile "stable-node"
assertFileContains "export PATH=" "${bp_dir}/export"
assertFileContains "/.heroku/node/bin:" "${bp_dir}/export"
assertFileContains "/node_modules/.bin:\$PATH" "${bp_dir}/export"
assertFileContains "/.heroku/node/bin" "${bp_dir}/export"
assertFileContains "/node_modules/.bin" "${bp_dir}/export"
assertFileContains "export NODE_HOME=" "${bp_dir}/export"
assertFileContains "/.heroku/node\"" "${bp_dir}/export"
assertCapturedSuccess
Expand Down

0 comments on commit b302525

Please sign in to comment.