From: Jean Privat Date: Wed, 3 Jul 2019 18:50:53 +0000 (-0400) Subject: Merge: Mock Github API tests X-Git-Url: http://nitlanguage.org Merge: Mock Github API tests This PR adds a mock to GithubAPI so we can avoid sending requests to the API on CI. For each API call we save the actual Github response body from the API and reuse it during the tests. The attribute `update_responses_cache` can be set to `true` so the cache files are updated from the API when `nitunit` is called. Pull-Request: #2753 Reviewed-by: Jean Privat --- 10211b46bacf5a6ec27621ad44f9e3ddf5c99afd