[#130,test,bugfix][xs]: slickgrid tests were still testing sort order even though removed in b6eb375624f8b5f4d8037046ad4a90ecf25cd0e1.

This commit is contained in:
Rufus Pollock 2012-06-16 13:17:10 +01:00
parent f14dcdcaaf
commit 36911aef14

View File

@ -29,7 +29,6 @@ test('state', function () {
state: {
hiddenColumns:['x','lat','title'],
columnsOrder:['lon','id','z','date', 'y', 'country'],
columnsSort:{column:'country',direction:'desc'},
columnsWidth:[
{column:'id',width: 250}
]
@ -52,9 +51,6 @@ test('state', function () {
// Column order
deepEqual(_.pluck(headers,'title'),view.state.get('columnsOrder'));
// Column sorting
equal($(view.grid.getCellNode(0,view.grid.getColumnIndex('country'))).text(),'US');
// Column width
equal($('.slick-header-column[title="id"]').width(),250);