Skip to content

Fix isNewInstance tests + code cleanup#554

Merged
bajtos merged 2 commits into
masterfrom
fix/isNewInstance-tests
Apr 1, 2015
Merged

Fix isNewInstance tests + code cleanup#554
bajtos merged 2 commits into
masterfrom
fix/isNewInstance-tests

Conversation

@bajtos

@bajtos bajtos commented Apr 1, 2015

Copy link
Copy Markdown
Member

Fix test for "after save" called on save/CREATE - make it correctly trigger the code path where the connector decides whether a new record is created or an existing one is updated.

Rename callback argument "result" to "info" to make it consistent with other places where we use "info" too.

Remove traling whitespace.

/to @raymondfeng please review

Miroslav Bajtoš added 2 commits April 1, 2015 18:25
Rename callback argument "result" to "info" to make it consistent
with other places where we use "info" too.

Remove traling whitespace.
Fix the test to correctly trigger the code path where the connector
decides whether a new record is created or an existing one is updated.
@raymondfeng

Copy link
Copy Markdown
Contributor

LGTM

bajtos added a commit that referenced this pull request Apr 1, 2015
Fix isNewInstance tests + code cleanup
@bajtos
bajtos merged commit bc0f3b1 into master Apr 1, 2015
@bajtos
bajtos deleted the fix/isNewInstance-tests branch April 1, 2015 16:44
@bajtos bajtos removed the #review label Apr 1, 2015
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