Skip to content

Commit

Permalink
Avoid using [].includes (does not work in IE11).
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Sep 6, 2019
1 parent c334bf5 commit 5cb7c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember/tests/routing/decoupled_basic_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ moduleFor(
let text = this.$('p').text();

assert.ok(
text.includes('Model: emberjs'),
text.indexOf('Model: emberjs') > -1,
'Passed model was available as the `@model` argument'
);

assert.ok(
text.includes('Controller: emberjs'),
text.indexOf('Controller: emberjs') > -1,
"Passed model was set as controller's `model` property"
);
}
Expand Down

0 comments on commit 5cb7c11

Please sign in to comment.