You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just got liquid fire set up on my Ember app and everything looks good.
However, in a unit test for a component in which I'm using liquid-with, I'm getting this error:
Error: <(subclass of Ember.Component):ember307> Handlebars error: Could not find property 'liquid-with' on object <(subclass of Ember.Component):ember307>.
Error: <(subclass of Ember.Component):ember307> Handlebars error: Could not find property 'liquid-with' on object <(subclass of Ember.Component):ember307>.
at new Error (native)
at Error.EmberError (http://localhost:4200/assets/vendor.js:27463:23)
at helperMissingHelper (http://localhost:4200/assets/vendor.js:20233:13)
at Object.anonymous (http://localhost:4200/assets/writermortis.js:1109:341)
at http://localhost:4200/assets/vendor.js:10901:33
at CoreView.extend.render (http://localhost:4200/assets/vendor.js:55511:20)
at EmberRenderer_createElement [as createElement] (http://localhost:4200/assets/vendor.js:52738:16)
at EmberRenderer.Renderer_renderTree [as renderTree] (http://localhost:4200/assets/vendor.js:23840:24)
at EmberRenderer.<anonymous> (http://localhost:4200/assets/vendor.js:23917:16)
at DeferredActionQueues.invoke (http://localhost:4200/assets/vendor.js:13891:18)
I feel like the liquid-with helper isn't being registered properly in the test set up. I didn't see anything obvious in the docs...
I'm using ember-cli 0.1.12, ember 1.8.1.
Thanks!
edit:
Here's the test file, nearly boilerplate ember-cli except for the helper dependency:
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('editable-story-viewer', 'EditableStoryViewerComponent', {
// specify the other units that are required for this test
needs: ['helper:formatted-text']
});
test('it renders', function() {
expect(2);
// creates the component instance
var component = this.subject();
equal(component._state, 'preRender');
// appends the component to the page
this.append();
equal(component._state, 'inDOM');
});
The text was updated successfully, but these errors were encountered:
Hi all,
I just got liquid fire set up on my Ember app and everything looks good.
However, in a unit test for a component in which I'm using
liquid-with
, I'm getting this error:I feel like the
liquid-with
helper isn't being registered properly in the test set up. I didn't see anything obvious in the docs...I'm using ember-cli 0.1.12, ember 1.8.1.
Thanks!
edit:
Here's the test file, nearly boilerplate ember-cli except for the helper dependency:
The text was updated successfully, but these errors were encountered: