/*jshint node: true, -W106 */
'use strict';

/*
* Name : barChartModelSpec.js
* Module : UnitTest
* Location : /test/dataTier/graph
*
* History :
* 
* Version   Date         Programmer         Description
* =========================================================
* 0.0.1     2015-05-13   Matteo Furlan    Initial code
* =========================================================
*/

var PageListModel = require('../../../lib/dataTier/graph/barChartModel.js');
//var assert = require('chai').assert;
var assert = require('assert');

describe('PageListModel', function() {
    
});
@@ -381,23 +381,23 @@
 */%0A%0Avar 
-PageLis
+BarChar
 tModel =
@@ -540,41 +540,523 @@
 be('
-PageListModel', function() %7B%0A    
+BarChartModel', function() %7B%0A    it('returns null when passed a non-valid string', function() %7B%0A        assert.strictEqual((new BarChartModel(%7BID:new Date()%7D)).hasOwnProperty('_ID'), false);%0A        assert.strictEqual((new BarChartModel(%7BID:''%7D)).hasOwnProperty('_ID'), false);%0A    %7D);%0A    it('set default values when have wrong type', function() %7B%0A        assert.strictEqual((new BarChartModel(%7BID:'grafico'%7D))._title, '');%0A        assert.strictEqual((new BarChartModel(%7BID:'grafico'%7D))._enableLegend, '');%0A    %7D);
 %0A%7D);

fix jshint on test