BigW Consortium Gitlab
Using the API library to create or update a merge request at the moment a 404 error is returned. This is fine when the merge request in question does not exist, but does not provide good information that for example a required attribute is missing. A status code of 400 (Bad request) is returned when creating or updating a merge request when either `source_branch` or `target_branch` is missing. A status code of 409 is returned when `source_branch` and `target_branch` are the same. Tests are added for these cases.
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... |