From 1b355a045ca61894a8204e1c564aabb2a3ce0c49 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Mon, 1 Aug 2016 13:12:35 -0400 Subject: [PATCH] Only append to the DOM when the first `this.render` is called. --- lib/ember-test-helpers/test-module-for-component.js | 3 --- lib/ember-test-helpers/test-module-for-integration.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/ember-test-helpers/test-module-for-component.js b/lib/ember-test-helpers/test-module-for-component.js index f291e87e8..1df404e44 100644 --- a/lib/ember-test-helpers/test-module-for-component.js +++ b/lib/ember-test-helpers/test-module-for-component.js @@ -170,9 +170,6 @@ export default TestModule.extend({ Ember.run(() => { toplevelView.setOutletState(outletState); }); - - Ember.run(module.component, 'appendTo', '#ember-testing'); - hasRendered = true; } context.render = function(template) { diff --git a/lib/ember-test-helpers/test-module-for-integration.js b/lib/ember-test-helpers/test-module-for-integration.js index aeb4e97f3..2d3950352 100644 --- a/lib/ember-test-helpers/test-module-for-integration.js +++ b/lib/ember-test-helpers/test-module-for-integration.js @@ -163,9 +163,6 @@ export default AbstractTestModule.extend({ Ember.run(() => { toplevelView.setOutletState(outletState); }); - - Ember.run(module.component, 'appendTo', '#ember-testing'); - hasRendered = true; } context.render = function(template) {