gitlabhq/spec/requests/api
Sebastian Ziebell fd01f3aacd API: fixes a few return codes for project snippets
When using project snippets via API the functions now provide status codes for
different situations other then only returning 404 error. If required parameters are missing,
e.g. `title` when creating a project snippet a 400 (Bad request) error is returned. The snippet
delete function now is idempotent and returns a 200 (Ok) regardless if the snippet with the
given id is available or not. Changing return codes of these functions has the advantage that
the 404 error is used only for resources, which are not available.

Tests added to check these status codes when handling project snippets.
2013-02-13 12:09:16 +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: fixes a few return codes for project snippets 2013-02-13 12:09:16 +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