Unit Test failing
I got the latest on the code and when I run grunt, I get the following errors:
[1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation count, with label FAILED[39m Expected 'total rows: ' to equal 5. PhantomJS 1.9.8 (Windows 7): Executed 119 of 428[31m (1 FAILED)[39m (0 secs / 2.53 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation count, without label FAILED[39m Expected '' to equal 5. PhantomJS 1.9.8 (Windows 7): Executed 120 of 428[31m (2 FAILED)[39m (0 secs / 2.535 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation sum, with label FAILED[39m Expected 'total: ' to equal 15. PhantomJS 1.9.8 (Windows 7): Executed 121 of 428[31m (3 FAILED)[39m (0 secs / 2.54 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation sum, without label FAILED[39m Expected '' to equal 15. PhantomJS 1.9.8 (Windows 7): Executed 122 of 428[31m (4 FAILED)[39m (0 secs / 2.545 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation avg, with label FAILED[39m Expected 'avg: ' to equal 3. PhantomJS 1.9.8 (Windows 7): Executed 123 of 428[31m (5 FAILED)[39m (0 secs / 2.551 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation avg, without label FAILED[39m Expected '' to equal 3. PhantomJS 1.9.8 (Windows 7): Executed 124 of 428[31m (6 FAILED)[39m (0 secs / 2.556 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation min, with label FAILED[39m Expected 'min: ' to equal 1. PhantomJS 1.9.8 (Windows 7): Executed 125 of 428[31m (7 FAILED)[39m (0 secs / 2.56 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation min, without label FAILED[39m Expected '' to equal 1. PhantomJS 1.9.8 (Windows 7): Executed 126 of 428[31m (8 FAILED)[39m (0 secs / 2.565 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation max, with label FAILED[39m Expected 'max: ' to equal 5. PhantomJS 1.9.8 (Windows 7): Executed 127 of 428[31m (9 FAILED)[39m (0 secs / 2.571 secs) [1A[2K[31mPhantomJS 1.9.8 (Windows 7) GridColumn factory aggregation max, without label FAILED[39m Expected '' to equal 5. PhantomJS 1.9.8 (Windows 7): Executed 128 of 428[31m (10 FAILED)[39m (0 secs / 2.576 secs)
It seems like GridColumn.prototype.getAggregationValue changed and is now return labels instead of counts.
I think I saw on gitter that @swalters broke that, then fixed it again. Is it still broken if you get the latest?
Ok, I am rather new to git, so I thought I had got the code up to date, however, let me go back through and make sure I do have the latest.
Yep, I missed a couple of steps with git, I got my branch updated and was able to successfully build and run the unit tests successfully, thanks Paul.