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

Reviews #137

Merged
merged 2 commits into from
Jun 4, 2020
Merged

Reviews #137

merged 2 commits into from
Jun 4, 2020

Conversation

dipolesource
Copy link
Contributor

Adds Reviews via GET /projects/{project_id}/stories/{story_id}/reviews

Michael McCormick added 2 commits June 3, 2020 12:12
…le for recent versions of Mocha. Semantic versioning cannot be evaluated by greater than/less than comparisons i.e 1.11 is less than 1.9 as floats but not as semantic versions.

Reverting to original require syntax as this appears to be the valid syntax for most recent versions of Mocha. Deprecation warnings squelched by the original commit seem more tenable than additional logic in the test helper.
A review_type is tightly coupled to a review. It is accessible as a field customization for reviews but not accessible via a distinct api endpoint. Since it is difficult to understand a review without the review_type, I made the decision to include default review fields and review_type when calling get story/{story_id}/ reviews. The review types are hydrated automatically.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 97.012% when pulling d33b0e7 on dipolesource:reviews into 6a16d9e on dashofcode:master.

@forest
Copy link
Contributor

forest commented Jun 4, 2020

@dipolesource looks good. Thanks for the contribution.

@forest forest merged commit 2e3418e into irphilli:master Jun 4, 2020
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.

3 participants