BigW Consortium Gitlab
Different status codes in the API lib are returned on hook creation, update or deletion. If a required parameter is not given (e.g. `url` in `/projects/:id/hooks/:hook_id`) status code 400 (Bad request) is returned. On hook deletion a 200 status code is returned, regardless if the hook is present or not. This makes the DELETE function an idempotent operation. Appropriate tests are added to check these status codes.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
admin | Loading commit data... | |
api | Loading commit data... | |
atom | Loading commit data... | |
security | Loading commit data... | |
gitlab_flavored_markdown_spec.rb | Loading commit data... | |
issues_spec.rb | Loading commit data... | |
notes_on_merge_requests_spec.rb | Loading commit data... | |
notes_on_wall_spec.rb | Loading commit data... | |
projects_deploy_keys_spec.rb | Loading commit data... | |
projects_spec.rb | Loading commit data... | |
search_spec.rb | Loading commit data... | |
snippets_spec.rb | Loading commit data... |