updated tests to comply with the new prettylist

This commit is contained in:
jshkurti 2015-06-16 15:28:33 +02:00
parent 26e528df1f
commit 2e1385acd5
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ spec "Module should be installed"
# one time in the raw env, and a second time prefixed with the module name
#
OUT=`$pm2 prettylist | grep -o "config1xxx" | wc -l`
[ $OUT -eq 2 ] || fail "$1"
[ $OUT -eq 5 ] || fail "$1"
success "$1"
$pm2 update

View File

@ -14,18 +14,18 @@ $pm2 kill
$pm2 start echo.js
sleep 1
should 'should have versioning metadata' 'versioning: \[Object\]' 1
should 'should have versioning metadata' 'github.com' 1
$pm2 delete all
$pm2 start echo.js --no-vizion
sleep 1
should 'should not have versioning metadata' 'versioning: \[Object\]' 0
should 'should not have versioning metadata' 'github.com' 0
$pm2 delete all
$pm2 start no-vizion.json
sleep 1
should 'should not have versioning metadata' 'versioning: \[Object\]' 0
should 'should not have versioning metadata' 'github.com' 0
mv .git git