File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Mvc.JQuery.Datatables.Example/Scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 179179 equal ( $dtHead . find ( 'input' ) . filter ( ".hasDatepicker" ) . length , 2 , "2 datepicker elements are expected" ) ;
180180 equal ( $dtHead . find ( 'select' ) . length , 2 , "2 select elements are expected" ) ;
181181 ok ( $dtHead . find ( 'button' ) . length , "a button element is expected" ) ;
182- ok ( getRowCount$Select ( ) . length == 1 , "select element found which denotes number of records to retrieve from server" )
182+ equal ( getRowCount$Select ( ) . length , 1 , "single select element found which denotes number of records to retrieve from server" )
183183 } ) ;
184184
185185 asyncTest ( "data sent to and returned from server is OK" , function ( assert ) {
216216 } ) ;
217217 assert . isNumeric ( tableIds , "first column of table contains only numeric text" ) ;
218218 deepEqual ( tableIds , listIds , "JSON translated to table" ) ;
219- ok ( getRowCount$Select ( ) . val ( ) == tableIds . length , "number of rows returned corresponds to number of entries selected" )
219+ equal ( getRowCount$Select ( ) . val ( ) , tableIds . length , "number of rows returned corresponds to number of entries selected" )
220220 start ( ) ;
221221 }
222222 } ) ;
You can’t perform that action at this time.
0 commit comments