Copied from the v4 tests: https://gitlab.com/gitlab-org/gitlab-ce/blob/v9.2.0/spec/requests/api/deploy_keys_spec.rb#L110-116
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`