gitlab-org--gitlab-foss/spec/lib
Douwe Maan eac0433f86 Merge branch 'fix-gh-rate-limit' into 'master'
Fix GitHub client requests when rate limit is disabled

## What does this MR do?

GitHub Rate Limit API returns 404 when the rate limit is disabled. In this case we just want to return gracefully instead of spitting out an error.

## Are there points in the code the reviewer needs to double check?

No.

## Why was this MR needed?

GitHub importer fails when rate limit is disabled in GitHub Enterprise.

## What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/697

## Does this MR meet the acceptance criteria?

- [X] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
  - [X] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5191
2016-07-12 16:12:26 +00:00
..
banzai Object renderer read_multi rendered entries from Cache 2016-07-12 14:35:29 +02:00
ci Merge branch 'refactor/ci-config-move-global-entries' into 'master' 2016-07-05 08:37:16 +00:00
container_registry Fix regression introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4669 2016-06-17 13:24:50 +02:00
gitlab Remove unnecessary context from GitHub client spec 2016-07-12 12:14:17 -03:00
json_web_token
disable_email_interceptor_spec.rb
extracts_path_spec.rb
file_size_validator_spec.rb
git_ref_validator_spec.rb
gitlab_spec.rb Update `Gitlab.com?` to support staging 2016-06-27 15:10:36 -04:00
repository_cache_spec.rb