mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Tests: Remove hard-coded version number.
This commit is contained in:
parent
ec69e668ff
commit
311030474d
@ -4,6 +4,7 @@ var chai = require('chai')
|
|||||||
, CHALK = require('chalk')
|
, CHALK = require('chalk')
|
||||||
, FS = require('fs')
|
, FS = require('fs')
|
||||||
, PATH = require('path')
|
, PATH = require('path')
|
||||||
|
, PKG = require('../package.json')
|
||||||
, _ = require('underscore');
|
, _ = require('underscore');
|
||||||
|
|
||||||
var gather = '';
|
var gather = '';
|
||||||
@ -59,7 +60,7 @@ describe('Testing Ouput interface', function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
var title = '*** HackMyResume v1.5.2 ***';
|
var title = '*** HackMyResume v' + PKG.version + ' ***';
|
||||||
var feedMe = 'Please feed me a resume in FRESH or JSON Resume format.';
|
var feedMe = 'Please feed me a resume in FRESH or JSON Resume format.';
|
||||||
var manPage = FS.readFileSync( PATH.resolve( __dirname, '../src/cli/use.txt' ), 'utf8');
|
var manPage = FS.readFileSync( PATH.resolve( __dirname, '../src/cli/use.txt' ), 'utf8');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user