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

Adds test for Issue #69 #77

Merged
merged 2 commits into from Mar 14, 2013
Merged

Adds test for Issue #69 #77

merged 2 commits into from Mar 14, 2013

Conversation

markandrus
Copy link
Contributor

I think this is sufficient to test for Issue #69. Creates a test model from the common.js description with no properties defined, then the beforeCreate hook initializes the name property. I tested with Postgres:

$ ORM_PROTOCOL=postgres node test/run                                
[i] Testing postgres
[i] URI: postgres://markroberts@localhost/node-orm2-test
[0:00:19 0 78/78 100.0% node test/integration/test-validators.js]

@dresende
Copy link
Owner

Can you just move the last assert to near the first one. No need to be separated :)

@dresende
Copy link
Owner

Thank you very much!

dresende added a commit that referenced this pull request Mar 14, 2013
@dresende dresende merged commit b33d11b into dresende:master Mar 14, 2013
@markandrus
Copy link
Contributor Author

Thanks, glad to help out!

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

2 participants