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

chore(commonTests): Standardize the assertions in common tests #535

Merged
merged 1 commit into from
Sep 23, 2016

Conversation

jeffcarbs
Copy link
Member

Saw some duplication in these specs doing the same thing slightly differently. Lmk if this makes sense.

I left the assertions where they were, but any reason they're inside the "describe" block vs right inside the function definition. They're really not relevant to the tests themselves, more to the function that's generating the tests, so I'd imagine they should right at the top.

@levithomason
Copy link
Member

Cool, I almost crammed this into my other PR for shorthand tests but opted to postpone. Looks good thanks!

@levithomason levithomason changed the title chore(tests): Standardize the assertions in common tests chore(commonTests): Standardize the assertions in common tests Sep 23, 2016
@levithomason levithomason merged commit da849f6 into master Sep 23, 2016
@levithomason levithomason deleted the feature/dry-common-test-assertions branch September 23, 2016 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants