fix test error in phantomjs

This commit is contained in:
Evan You 2016-05-26 13:58:10 -04:00
parent 056cb7f295
commit dc76830b7b

View File

@ -129,6 +129,9 @@ describe('Directive v-model text', () => {
it('warn invalid tag', () => {
new Vue({
data: {
test: 'foo'
},
template: '<div v-model="test"></div>'
}).$mount()
expect('v-model is not supported on element type: <div>').toHaveBeenWarned()