Skip to content

Commit

Permalink
fix sandbox delta tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Sep 14, 2016
1 parent a935112 commit 0cef302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sandbox.test.js
Expand Up @@ -63,7 +63,7 @@ describe('sandbox', function ( ) {
it('build BG Now line using properties', function ( ) {
var sbx = createServerSandbox();
sbx.data.sgvs = [{mgdl: 99, mills: now}];
sbx.properties = { bgnow: { delta: {display: '+5' } }, direction: {value: 'FortyFiveUp', label: '↗', entity: '↗'} };
sbx.properties = { delta: {display: '+5' }, direction: {value: 'FortyFiveUp', label: '↗', entity: '↗'} };

sbx.buildBGNowLine().should.equal('BG Now: 99 +5 ↗ mg/dl');

Expand All @@ -73,7 +73,7 @@ describe('sandbox', function ( ) {
var sbx = createServerSandbox();
sbx.data.sgvs = [{mgdl: 99, mills: now}];
sbx.properties = {
bgnow: { delta: {display: '+5' } }
delta: {display: '+5' }
, direction: {value: 'FortyFiveUp', label: '↗', entity: '↗'}
, rawbg: {displayLine: 'Raw BG: 100 mg/dl'}
, iob: {displayLine: 'IOB: 1.25U'}
Expand Down

0 comments on commit 0cef302

Please sign in to comment.