Commit c269de9a authored by David Dollar's avatar David Dollar

assert creation of the profile.d script

parent 9aacac80
......@@ -47,6 +47,13 @@ testNothingCached() {
assertEquals "0" "$(ls -1 $cache | wc -l)"
}
testProfileCreated() {
compile "package-json-version"
assertCaptured "Building runtime environment"
assertFile "export PATH=\"\$HOME/bin:\$HOME/node_modules/.bin:\$PATH\"" "profile.d/nodejs.sh"
assertCapturedSuccess
}
## utils ########################################
pushd $(dirname 0) >/dev/null
......
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