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 test for get + serialize behavior #99

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

Add test for get + serialize behavior #99

wants to merge 1 commit into from

Conversation

Bajix
Copy link
Contributor

@Bajix Bajix commented Dec 9, 2016

Assuming DefineMap.prototype.get() was intended to perform similarly to can.Map.prototype.attr(), then it should return a PJSO with the values of all enumerable props assigned. Instead, it is only returning all serializable props, essentially making this call signature identically to DefineMap.prototype.serialize().

This PR is just for the test to demonstrate that this behavior is broken or has otherwise changed in a breaking way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants