[#130,test,bugfix][xs]: slickgrid tests were still testing sort order even though removed in b6eb375624.
This commit is contained in:
@@ -29,7 +29,6 @@ test('state', function () {
|
|||||||
state: {
|
state: {
|
||||||
hiddenColumns:['x','lat','title'],
|
hiddenColumns:['x','lat','title'],
|
||||||
columnsOrder:['lon','id','z','date', 'y', 'country'],
|
columnsOrder:['lon','id','z','date', 'y', 'country'],
|
||||||
columnsSort:{column:'country',direction:'desc'},
|
|
||||||
columnsWidth:[
|
columnsWidth:[
|
||||||
{column:'id',width: 250}
|
{column:'id',width: 250}
|
||||||
]
|
]
|
||||||
@@ -52,9 +51,6 @@ test('state', function () {
|
|||||||
// Column order
|
// Column order
|
||||||
deepEqual(_.pluck(headers,'title'),view.state.get('columnsOrder'));
|
deepEqual(_.pluck(headers,'title'),view.state.get('columnsOrder'));
|
||||||
|
|
||||||
// Column sorting
|
|
||||||
equal($(view.grid.getCellNode(0,view.grid.getColumnIndex('country'))).text(),'US');
|
|
||||||
|
|
||||||
// Column width
|
// Column width
|
||||||
equal($('.slick-header-column[title="id"]').width(),250);
|
equal($('.slick-header-column[title="id"]').width(),250);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user