gitlabhq/spec/requests/api
Sebastian Ziebell 7cc4339f71 API: changed status codes for project hooks functions
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.
2013-02-12 17:44:42 +01:00
..
groups_spec.rb Add test for duplicate group paths 2013-02-01 18:58:53 +01:00
issues_spec.rb Rspec fixes 2013-01-04 18:50:31 +02:00
merge_requests_spec.rb Test added to check creation of note to a non-existent MR via API 2013-02-06 17:05:55 +01:00
milestones_spec.rb Tests added to check status codes when handling milestone via API 2013-02-06 17:11:00 +01:00
notes_spec.rb Merge branch 'master' into fixes/api 2013-02-08 10:32:42 +01:00
projects_spec.rb API: changed status codes for project hooks functions 2013-02-12 17:44:42 +01:00
session_spec.rb Remove backward compatibility of factories. 2012-11-13 22:27:45 +11:00
users_spec.rb Merge branch 'extend_user_api' of https://github.com/bladealslayer/gitlabhq into bladealslayer-extend_user_api 2013-01-31 13:00:50 +02:00