Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View-rendering with {{outlet}} in views template fails in qunit-tests #10840

Closed
ohcibi opened this issue Apr 7, 2015 · 1 comment
Closed

Comments

@ohcibi
Copy link

ohcibi commented Apr 7, 2015

See this fiddle: http://jsbin.com/nuqosi/3/edit

The way I did this used to work in 1.10 and I also found it to be recommended here.

However since 1.11.0, I get the error as in the example. The error disappears if one removes the {{outlet}} or doesn't do appendTo("#ember-testing") in the tests. Looks like a regression to me.

@rwjblue
Copy link
Member

rwjblue commented Apr 7, 2015

This is a bug in ember-test-helpers please reopen in https://github.com/switchfly/ember-test-helpers.

We need to register view:-outlet in lib/ember-test-helpers/isolated-container.js (similar to here) like this:

container.register('view:-outlet', Ember.OutletView);

Pull request definitely welcome 😸...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants