Skip to content

Commit 2289481

Browse files
committed
fix ssr v-bind test
1 parent c66b756 commit 2289481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ssr/ssr-string.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,11 +411,11 @@ describe('SSR: renderToString', () => {
411411
it('v-bind object', done => {
412412
renderVmWithOptions({
413413
data: {
414-
test: { id: 'a', class: 'b', value: 'c' }
414+
test: { id: 'a', class: ['a', 'b'], value: 'c' }
415415
},
416416
template: '<input v-bind="test">'
417417
}, result => {
418-
expect(result).toContain('<input id="a" class="b" server-rendered="true" value="c">')
418+
expect(result).toContain('<input id="a" server-rendered="true" value="c" class="a b">')
419419
done()
420420
})
421421
})

0 commit comments

Comments
 (0)