Skip to content

Commit

Permalink
Fix for IE9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Sep 20, 2017
1 parent f723711 commit 78741ad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/ember-glimmer/tests/integration/helpers/input-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,17 @@ moduleFor(`Helpers test: {{input type='text'}}`, class extends InputRenderingTes
this.render(`{{input ${ attrs.replace("%x", value) }}}`);
}

assertValue(expected) {
let type = this.$input().attr('type');

if (type !== 'range') {
this.assert.ok(true, 'IE9 does not support range items');
return;
}

super.assertValue(expected);
}

['@test value over default max but below set max is kept'](assert) {
this.renderInput("25");
this.assertValue("25");
Expand Down

0 comments on commit 78741ad

Please sign in to comment.