1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-03 04:47:07 +01:00

Rename Sheet/FreshSheet to JRSResume/FRESHResume.

This commit is contained in:
devlinjd
2015-11-19 10:39:14 -05:00
parent a410153253
commit 0aa9bc2937
6 changed files with 55 additions and 54 deletions

View File

@ -4,7 +4,7 @@ var chai = require('chai')
, should = chai.should()
, path = require('path')
, _ = require('underscore')
, FreshSheet = require('../src/core/fresh-sheet')
, FRESHResume = require('../src/core/fresh-resume')
, validator = require('is-my-json-valid');
chai.config.includeStack = false;
@ -15,7 +15,7 @@ describe('fullstack.json (FRESH)', function () {
it('should open without throwing an exception', function () {
function tryOpen() {
_sheet = new FreshSheet().open( 'tests/exemplars/fresh-exemplar.json' );
_sheet = new FRESHResume().open( 'tests/exemplars/fresh-exemplar.json' );
}
tryOpen.should.not.Throw();
});
@ -45,7 +45,7 @@ describe('fullstack.json (FRESH)', function () {
});
it('should not be modified after saving', function() {
var savedSheet = new FreshSheet().open( 'tests/sandbox/fullstack.json' );
var savedSheet = new FRESHResume().open( 'tests/sandbox/fullstack.json' );
_sheet.stringify().should.equal( savedSheet.stringify() )
});

View File

@ -4,7 +4,7 @@ var chai = require('chai')
, should = chai.should()
, path = require('path')
, _ = require('underscore')
, Sheet = require('../src/core/sheet')
, JRSResume = require('../src/core/jrs-resume')
, validator = require('is-my-json-valid');
chai.config.includeStack = false;
@ -15,7 +15,7 @@ describe('fullstack.json (JRS)', function () {
it('should open without throwing an exception', function () {
function tryOpen() {
_sheet = new Sheet().open( 'node_modules/resample/fullstack/in/resume.json' );
_sheet = new JRSResume().open( 'node_modules/resample/fullstack/in/resume.json' );
}
tryOpen.should.not.Throw();
});
@ -44,7 +44,7 @@ describe('fullstack.json (JRS)', function () {
});
it('should not be modified after saving', function() {
var savedSheet = new Sheet().open( 'tests/sandbox/fullstack.json' );
var savedSheet = new JRSResume().open( 'tests/sandbox/fullstack.json' );
_sheet.stringify().should.equal( savedSheet.stringify() )
});