export default { data: { animals: [ 'alpaca', 'baboon', 'capybara' ], foo: 'something else' }, html: ` before

alpaca

baboon

capybara

after `, test ( assert, component, target ) { component.set({ animals: [] }); assert.htmlEqual( target.innerHTML, ` before

no animals, but rather something else

after ` ); component.set({ foo: 'something other' }); assert.htmlEqual( target.innerHTML, ` before

no animals, but rather something other

after ` ); component.set({ animals: ['wombat'] }); assert.htmlEqual( target.innerHTML, ` before

wombat

after ` ); } };