minutebase / ember-dynamic-component

Ember addon to render a dynamic component
MIT License
40 stars 4 forks source link

How to `need` this in a unit test #3

Open samselikoff opened 9 years ago

samselikoff commented 9 years ago

Tried

needs: ['view:dynamic-component']
needs: ['component:dynamic-component']
needs: ['helper:dynamic-component']

but they aren't working.

ps - thanks for this! it rules.

samselikoff commented 9 years ago

@rwjblue any tips here?

samselikoff commented 9 years ago

I will pay someone a dollar, i'm desparate. specs must pass.

rwjblue commented 9 years ago

van you share a simple repo to eyeball?

samselikoff commented 9 years ago

Here ya go:

https://github.com/samselikoff/ember-dynamic-component-test

Thanks man. The error happens using dynamic-component within a component (even though it works).