Update tests.

This commit is contained in:
hacksalot 2016-01-15 13:36:57 -05:00
parent 934d8a6123
commit fff45e1431
2 changed files with 17 additions and 10 deletions

View File

@ -1,20 +1,27 @@
0|
3|build
8|new
3|analyze
3|convert
3|validate
5|notacommand
4|--help
4|-h
4|--debug
4|-d
5|notacommand
3|build
14|build doesnt-exist.json
14|analyze doesnt-exist.json
7|convert doesnt-exist.json
14|validate doesnt-exist.json
1|build doesnt-exist.json -t not-a-theme
1|build doesnt-exist.json -t node_modules/not-a-theme
8|new
0|new test/sandbox/cli-test/new-empty-resume.auto.json
0|new test/sandbox/cli-test/new-empty-resume.jrs.json -f jrs
0|new test/sandbox/cli-test/new-empty-resume.fresh.json -f fresh
3|analyze
14|analyze doesnt-exist.json
3|convert
7|convert doesnt-exist.json
3|validate
14|validate doesnt-exist.json
0|validate node_modules/fresh-test-resumes/src/jane-fullstacker.fresh.json
3|peek
14|peek doesnt-exist.json
14|peek doesnt-exist.json not.a.path
0|peek test/resumes/jrs-0.0.0/richard-hendriks.json work[0]
0|peek node_modules/fresh-test-resumes/src/jane-fullstacker.fresh.json employment.history[1]
0|peek node_modules/fresh-test-resumes/src/johnny-trouble.fresh.json skills.sets

View File

@ -80,7 +80,7 @@ describe('Testing Ouput interface', function () {
var manPage = FS.readFileSync( PATH.resolve( __dirname, '../src/cli/use.txt' ), 'utf8');
run('HMR should output a help string when no command is specified',
[], [ title, 'Please give me a command (BUILD, ANALYZE, VALIDATE, CONVERT, or NEW).' ]);
[], [ title, 'Please give me a command (BUILD, ANALYZE, VALIDATE, CONVERT, NEW, or PEEK).' ]);
run('BUILD should output a tip when no source is specified',
['build'], [ title, feedMe ]);