Commit d6391d66 authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #166 from heroku/better-cache-test

more specific tests
parents 64dc88ce f7219255
......@@ -92,7 +92,8 @@ testNodeModulesCached() {
cache=$(mktmpdir)
compile "caching" $cache
assertCaptured "Caching node_modules for future builds"
assertEquals "1" "$(ls -1 $cache/ | wc -l)"
assertEquals "1" "$(ls -1 $cache/ | grep node | wc -l)"
assertEquals "1" "$(ls -1 $cache/node | grep node_modules | wc -l)"
}
testBuildWithCache() {
......
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