Testing a component : how to fix this please?

So i have the following test that passes but gets the warning

DEPRECIATION: Using the default Container is no longer supported. [default Container#lookup]

describe "Facet selector component", ->

before ->
	component = App.FacetSelectorComponent.create(
		content: []
		name: 'brands'
	)

	Ember.run ->
		component.appendTo('body')

	@component = component


it "should display the name", ->
	@component.$().should.contain('brands')

Can anyone tell me how to update this test to remove the warning ?

thanks a lot Rick

Check out this Stackoverflow post: javascript - How do I reconfigure views to not use the defaultContainer in Ember JS - Stack Overflow

Try adding container.lookup() for view, then .appendTo() might work wothout deprecation warning.

This was fairly informative for me:

https://github.com/dagda1/ember-autosuggest/blob/master/packages/ember-autosuggest/tests/customisations_tests.js

as was this:

https://gist.github.com/stefanpenner/5627411