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

Add (failing) test to reproduce #69 #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simonihmig
Copy link
Contributor

No description provided.

@simonihmig
Copy link
Contributor Author

Interestingly, these tests fail (as expected) for Ember 2.18 and 2.16, but pass for 3+ as well as 2.12(!)

@@ -121,6 +121,31 @@ module('Integration | Component | angle-bracket-invocation', function(hooks) {
assert.dom('[data-foo="bar"]').exists();
});

test('with attributes - has attributeBindings', async function(assert) {
Copy link
Member

Choose a reason for hiding this comment

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

FWIW, I wouldn't expect attributeBindings to have any effect here (since the invocation doesn't pass @data-foo).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, indeed. But it should still have that attribute applied (not through attributeBindings but through the angle bracket invocation with that attribute), but the presence of that attributeBindings seems to make this fail! So it does have an (unwanted) effect here!

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.

2 participants