@@ -370,7 +370,7 @@ describe('api: /projects/:id/forms (drafts)', () => {
370370 body . details . should . eql ( { path : '/age' , type : 'string' } ) ;
371371 } ) ) ) ) ) ;
372372
373- it . skip ( 'should complain on downcast from group to string' , testService ( ( service ) =>
373+ it ( 'should complain on downcast from group to string' , testService ( ( service ) =>
374374 service . login ( 'alice' , ( asAlice ) =>
375375 asAlice . post ( '/v1/projects/1/forms/simple/draft' )
376376 . send ( testData . forms . simple . replace ( 'nodeset="/data/meta/instanceID"' , 'nodeset="/data/meta"' ) )
@@ -381,11 +381,11 @@ describe('api: /projects/:id/forms (drafts)', () => {
381381 body . details . should . eql ( { path : '/meta' , type : 'structure' } ) ;
382382 } ) ) ) ) ;
383383
384- it . skip ( 'should complain on downcast from repeat to string' , testService ( ( service ) =>
384+ it ( 'should complain on downcast from repeat to string' , testService ( ( service ) =>
385385 service . login ( 'alice' , ( asAlice ) =>
386386 asAlice . post ( '/v1/projects/1/forms/withrepeat/draft' )
387387 . send ( testData . forms . withrepeat
388- . replace ( '</model>' , '<bind nodeset="/data/children/child" type="int "/></model>' )
388+ . replace ( '</model>' , '<bind nodeset="/data/children/child" type="string "/></model>' )
389389 . replace ( '<repeat' , '<rpt' )
390390 . replace ( '</repeat' , '</rpt' ) )
391391 . set ( 'Content-Type' , 'application/xml' )
0 commit comments