Ember.js tests fail when using select -


i using ember 1.8.1 , updated code from

{{view ember.select content=items}} 

to

{{view "select" content=items}} 

the problem tests fail , error:

error: assertion failed: select must subclass or instance of ember.view, not  @ new error (native) @ error.embererror (http://0.0.0.0:4201/assets/vendor.js:27425:23) @ object.ember.assert (http://0.0.0.0:4201/assets/vendor.js:17039:15) @ handlebarsgetview (http://0.0.0.0:4201/assets/vendor.js:20093:13) @ emberobject.create.helper (http://0.0.0.0:4201/assets/vendor.js:22801:19) @ viewhelper (http://0.0.0.0:4201/assets/vendor.js:23051:25) @ object.anonymous (nea-client/templates/components/modal-workflow-create.js:18:54) @ http://0.0.0.0:4201/assets/vendor.js:10863:33 @ coreview.extend.render (http://0.0.0.0:4201/assets/vendor.js:55473:20) @ emberrenderer_createelement [as createelement] (http://0.0.0.0:4201/assets/vendor.js:52700:16) 

any ideas how fix this? if revert code old style tests pass deprecation notice.

in test this:

import ember 'ember';  moduleforcomponent('my-foobar', 'myfoobarcomponent', {   setup: function() {     this.container.register('view:select', ember.select);   } } 

doing type of thing moves bit closer integration tests. there talk how improve current state of things here: https://github.com/rwjblue/ember-qunit/issues/74


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -