pull/299/head
Rich Harris 8 years ago
parent d6207ac900
commit 875d84e967

@ -1,9 +1,6 @@
export default { export default {
html: ` html: `
<input> <input><input><input>
<input>
<input>
<p>foo, bar, baz</p> <p>foo, bar, baz</p>
`, `,
@ -14,12 +11,9 @@ export default {
inputs[0].value = 'blah'; inputs[0].value = 'blah';
inputs[0].dispatchEvent( change ); inputs[0].dispatchEvent( change );
assert.deepEqual( component.get( 'a' ), [ 'blah', 'bar', 'baz' ] ); assert.deepEqual( component.get( 'a' ), [{ name: 'blah' }, { name: 'bar' }, { name: 'baz' }] );
assert.htmlEqual( target.innerHTML, ` assert.htmlEqual( target.innerHTML, `
<input> <input><input><input>
<input>
<input>
<p>blah, bar, baz</p> <p>blah, bar, baz</p>
` ); ` );

@ -1,9 +1,6 @@
export default { export default {
html: ` html: `
<input> <input><input><input>
<input>
<input>
<p>foo, bar, baz</p> <p>foo, bar, baz</p>
`, `,
@ -16,10 +13,7 @@ export default {
assert.deepEqual( component.get( 'a' ), [ 'blah', 'bar', 'baz' ] ); assert.deepEqual( component.get( 'a' ), [ 'blah', 'bar', 'baz' ] );
assert.htmlEqual( target.innerHTML, ` assert.htmlEqual( target.innerHTML, `
<input> <input><input><input>
<input>
<input>
<p>blah, bar, baz</p> <p>blah, bar, baz</p>
` ); ` );

Loading…
Cancel
Save