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 = component

it "should display the name", ->

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:


as was this: