You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite our GitHub API event syncing infrastructure
- Change GithubIssue and GithubPullRequest relationships
- Add GitHub.Sync module and submodules for handling syncing
- Remove pull request task syncing since tasks since to issues instead
- Remove linking user and pull requests; rely on issue instead
- Add some docs about the GitHub testing helpers
- Add docs and proper error types
- Fix syncing of Github issue comment events for a pull request
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,3 +193,5 @@ We've written some convenience helper modules and functions to help with API tes
193
193
-`CodeCorpsWeb.ApiCase` - used to simplify testing JSON API endpoints
194
194
-`CodeCorps.AuthenticationTestHelpers` - provides authentication helpers for authenticating a `conn`
195
195
-`CodeCorps.Factories` - provides factories using [`ex_machina`](https://github.com/thoughtbot/ex_machina), which makes it easy to create test data and associations with Ecto
196
+
-`CodeCorps.GitHub.TestHelpers` - provides test helpers for loading GitHub API endpoint or event JSON fixtures, as well as mocking the API
197
+
-`CodeCorps.GitHub.SuccessAPI` - provides some automatic mocking of the GitHub API, or raises an exception if you have an unhandled request to the API
0 commit comments