Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Conversation

gobetti
Copy link
Contributor

@gobetti gobetti commented Nov 19, 2020

In order to get it populated, fields: 'pull_requests' is required when
calling the method that retrieves the story(ies) - otherwise it's nil

@gobetti
Copy link
Contributor Author

gobetti commented Nov 19, 2020

read access is enough for my needs but I suppose we could extend the PullRequest class with methods to modify it

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 97.028% when pulling 54ae048 on gobetti:feature/pull_requests into 2c656e6 on dashofcode:master.

@coveralls
Copy link

coveralls commented Nov 19, 2020

Coverage Status

Coverage increased (+0.03%) to 97.023% when pulling 54ae048 on gobetti:feature/pull_requests into 2c656e6 on dashofcode:master.

@irphilli
Copy link
Owner

Good PR and great add. Sorry we haven't gotten to this sooner - we've just taken ownership of this gem and are still getting ramped up.

To make this PR complete, there would be some tests added that exercise reading the pull requests of a story. Do you mind adding some tests to the PR?

gobetti and others added 2 commits April 23, 2021 17:22
In order to get it populated, `fields: 'pull_requests'` is required when
calling the method that retrieves the story(ies) - otherwise it's nil
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 1337312 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 97.5% (0.0% change).

View more on Code Climate.

Copy link
Owner

@irphilli irphilli left a comment

Choose a reason for hiding this comment

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

Added a simple test and will include this in the next release. Thanks again!

@irphilli irphilli merged commit 5343b08 into irphilli:master Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants