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

Test assertions when updateRecord & deleteRecord don't exist on adapter #4624

Merged
merged 1 commit into from
Oct 26, 2016
Merged

Test assertions when updateRecord & deleteRecord don't exist on adapter #4624

merged 1 commit into from
Oct 26, 2016

Conversation

pangratz
Copy link
Member

Followup to #4283 to add tests for asserting that updateRecord and deleteRecord exist.

cc @bmac

function moveRecordOutOfInFlight(record) {
run(function() {
// move record out of the inflight state so the tests can clean up
// correctly
Copy link
Member

Choose a reason for hiding this comment

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

@pangratz Do you know why we need to move records out of inflight to make the tests happy?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's because of this assertion in the state machine.

@bmac
Copy link
Member

bmac commented Oct 24, 2016

👍

@bmac bmac merged commit ef4ed82 into emberjs:master Oct 26, 2016
@bmac
Copy link
Member

bmac commented Oct 26, 2016

Thanks @pangratz.

@pangratz pangratz deleted the add-more-tests-around-asserting-adapter-methods-exist branch October 27, 2016 01:07
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