behaviorbot / new-issue-welcome

Welcome users when they open their first issue in your repository
https://github.com/apps/welcome
MIT License
40 stars 31 forks source link

Use listForRepo instead of getForRepo #38

Closed MikaelSmith closed 5 years ago

MikaelSmith commented 5 years ago

The GitHub client Probot uses changed getForRepo to listForRepo. Our tests mocked the GitHub client completely, so we missed that change. Updates the call, and modifies the tests to mock the real client; expect.spyOn will fail if it names something that's not already a function.

update-docs[bot] commented 5 years ago

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.