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] Migrate bindings integration test #13210

Merged
merged 1 commit into from
Apr 11, 2016

Conversation

Joelkang
Copy link
Contributor

Part of #13127.

Migrated the undefined dynamic path test. Kept the binding and re-binding tests. Everything else is tested elsewhere.

this.assertText('bar');
}

['@test should accept bindings as a string or an Ember.binding']() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This just straight up doesn't work for HTMLBars but does for glimmer. Must be something with the way I updated the view semantics. Test output was two way: , string:

@homu
Copy link
Contributor

homu commented Mar 31, 2016

☔ The latest upstream changes (presumably #13195) made this pull request unmergeable. Please resolve the merge conflicts.

equal(view.$().text(), '', 'rendered undefined binding');
});

QUnit.test('should cleanup bound properties on rerender', function() {
Copy link
Member

Choose a reason for hiding this comment

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

👍 🔥

@chancancode
Copy link
Member

Sorry for the delay. Just two quick comment, looks great otherwise! If you can't get to those by the end of day, I can probably just do it for you!

@Joelkang
Copy link
Contributor Author

Doing it now, gimme a few mintutes

@Joelkang
Copy link
Contributor Author

@chancancode updated and squashed!

@Joelkang Joelkang changed the title [Glimmer2][WIP] Migrate bindings integration test [Glimmer2] Migrate bindings integration test Apr 11, 2016
@chancancode chancancode merged commit 1cc4e45 into emberjs:master Apr 11, 2016
@Joelkang Joelkang deleted the binding-integration-tests branch April 15, 2016 21:40
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.

4 participants