Skip to content

Commit 8501563

Browse files
committed
this.visit since a new instance will be allocated because we destroyed
the application
1 parent c32de47 commit 8501563

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ember-application/tests/system/visit_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ moduleFor('Application - visit()', class extends ApplicationTestCase {
8686
rootElement,
8787
_renderMode: 'rehydrate'
8888
};
89-
this.application.visit('/', bootOptions).then(instance => {
89+
90+
this.visit('/', bootOptions).then(instance => {
9091
assert.equal(
9192
instance.rootElement.innerHTML,
9293
indexTemplate,

0 commit comments

Comments
 (0)