Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Glimmer2] Port {{textarea}} test to ember-glimmer. #13215

Merged
merged 1 commit into from
Apr 10, 2016

Conversation

kiwiupover
Copy link
Contributor

No description provided.


moduleFor('Helpers test: {{textarea}}', class extends RenderingTest {

['@htmlbars Should insert a textarea']() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from #45


moduleFor('Helpers test: {{textarea}}', class extends TextAreaRenderingTest {

['@htmlbars Should insert a textarea']() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaces #45

@kiwiupover
Copy link
Contributor Author

@chancancode this is ready for your eyes mate.

super();

this.registerComponent('-text-area', { ComponentClass: TextArea });
this.render('{{textarea disabled=disabled value=val}}', { val: 'Lorem ipsum dolor' });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is so easy to do now, I think we prefer to inline this into the tests now. (See below)

@chancancode
Copy link
Member

Left some minor comments, otherwise looks great to me! Thanks for picking this up!

@kiwiupover
Copy link
Contributor Author

@chancancode This is ready mate!
Do you want me to remove the whole constructor?

@rwjblue
Copy link
Member

rwjblue commented Apr 10, 2016

Thanks @kiwiupover!

@rwjblue rwjblue merged commit b29d10c into emberjs:master Apr 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants