Skip to content

Commit

Permalink
[BUGFIX beta] Add test for #14727
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Jul 19, 2017
1 parent 75af143 commit 202c5ab
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,13 @@ moduleFor('Helpers test: {{input}}', class extends InputRenderingTest {
keyCode: 65
});
}

['@test GH#14727 can render a file input after having had render an input of other type']() {
this.render(`{{input type="text"}}{{input type="file"}}`);

this.assert.equal(this.$input()[0].type, 'text');
this.assert.equal(this.$input()[1].type, 'file');
}
});

moduleFor('Helpers test: {{input}} with dynamic type', class extends InputRenderingTest {
Expand Down

0 comments on commit 202c5ab

Please sign in to comment.