File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,5 +80,6 @@ <h2 id="qunit-userAgent"></h2>
8080 < script src ="test.notifications.js " type ="text/javascript "> </ script >
8181 < script src ="test.listView.js " type ="text/javascript "> </ script >
8282 < script src ="test.detailView.js " type ="text/javascript "> </ script >
83+ < script src ="test.multiEdit.js " type ="text/javascript "> </ script >
8384 </ body >
8485</ html >
Original file line number Diff line number Diff line change 1+ ( function ( $ ) {
2+ module ( 'Mutli-edit' ) ;
3+
4+ test ( 'Basic' , function ( ) {
5+ var multiEdit = {
6+ fields : {
7+ fieldA : { label : 'fieldA' } ,
8+ fieldB : { label : 'fieldB' } ,
9+ add : { label : 'add' , addButton : true }
10+ } ,
11+ add : {
12+ label : 'addAction' ,
13+ action : function ( ) { }
14+ } ,
15+ dataProvider : function ( ) { }
16+ } ;
17+ var $multiEdit = $ ( '<div>' ) ;
18+
19+ ok ( $multiEdit . multiEdit ( multiEdit ) , 'Initialize multi-edit' ) ;
20+ } ) ;
21+ } ( jQuery ) ) ;
You can’t perform that action at this time.
0 commit comments