diff --git a/test/generator/samples/binding-input-checkbox-group/_config.js b/test/generator/samples/binding-input-checkbox-group/_config.js index 0a0e02f720..154c4490cb 100644 --- a/test/generator/samples/binding-input-checkbox-group/_config.js +++ b/test/generator/samples/binding-input-checkbox-group/_config.js @@ -1,7 +1,15 @@ +const values = [ + { name: 'Alpha' }, + { name: 'Beta' }, + { name: 'Gamma' } +]; + export default { + // solo: true, + data: { - values: [ 'Alpha', 'Beta', 'Gamma' ], - selected: [ 'Beta' ] + values, + selected: [ values[1] ] }, html: ` diff --git a/test/generator/samples/binding-input-checkbox-group/main.html b/test/generator/samples/binding-input-checkbox-group/main.html index 2ca1c29b5d..211c371e53 100644 --- a/test/generator/samples/binding-input-checkbox-group/main.html +++ b/test/generator/samples/binding-input-checkbox-group/main.html @@ -1,7 +1,7 @@ {{#each values as value}} {{/each}} -
{{selected}}
\ No newline at end of file +{{selected.map( function ( value ) { return value.name; }) }}
\ No newline at end of file