DockYard/ember-route-action-helper

Cannot read property 'currentHandlerInfos' of undefined

hoIIer opened this issue · 2 comments

My integration test that contains some buttons with route-action set is throwing the error:

Cannot read property 'currentHandlerInfos' of undefined

How can I get around this for an integration test? The route-action's that are called are set on the app route whereas I'm just testing a component here...

Thanks

I believe it is not best practice to use a helper in a component. Read more here #42

Someone has been kind enough to post a work-around here 58ac3f7