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] Add tests for bound {{loc}} behavior #13134

Merged
merged 1 commit into from
Mar 20, 2016

Conversation

code0100fun
Copy link
Contributor

Tests INUR cycle for bound params. Fixes #13132.

['@test it updates when bound params change']() {
let context = { simple: 'Hello Friend', personal: 'Hello' };

this.render(`{{loc simple}} - {{loc personal 'Mr. Pitkin'}}`, context);
Copy link
Member

Choose a reason for hiding this comment

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

you can just do this.render({{...}}, { simple: ... });

@chancancode
Copy link
Member

r? @mixonic

Tests INUR cycle for bound params. Fixes emberjs#13132.
@mixonic
Copy link
Sponsor Member

mixonic commented Mar 20, 2016

Looks good 💪 Thanks @code0100fun!

mixonic added a commit that referenced this pull request Mar 20, 2016
[Glimmer2] Add tests for bound {{loc}} behavior
@mixonic mixonic merged commit bf067f7 into emberjs:master Mar 20, 2016
@code0100fun code0100fun deleted the loc-helper-binding-tests branch March 20, 2016 20:51
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