gitlabhq/spec
Sebastian Ziebell 818caf0b5d API: refined status code handling when adding or updating a project member
When a user is added to a project that is already a member of, a status code 201 is now returned to
signal an idempotent operation. If something fails then instead of returning error code 404 different
more specific error codes are returned. Status code 400 (Bad request) is returned when a required
attribute, e.g. `access_level` is not given or 422 if there is a semantic error, e.g. should
the `access_level` have an unsupported value.

Specs are added to check these status codes.
2013-02-08 14:33:29 +01:00
..
contexts Improve CreateContext call. Fixed test 2013-01-18 20:21:13 +02:00
controllers remove unused autogenerated files 2013-01-24 22:31:48 +02:00
factories add path and path_with_namespace to api project entity 2013-01-31 09:11:35 +02:00
helpers remove unused autogenerated files 2013-01-24 22:31:48 +02:00
lib Fixed: post-receive, project remove, tests 2013-02-05 12:47:50 +02:00
mailers Fix mailer tests 2013-02-01 15:37:21 +02:00
models fix deploy key spec 2013-02-07 10:25:47 +02:00
observers Fixed: post-receive, project remove, tests 2013-02-05 12:47:50 +02:00
requests API: refined status code handling when adding or updating a project member 2013-02-08 14:33:29 +01:00
routing fix routing specs 2013-01-31 10:08:20 +02:00
support Fixed: post-receive, project remove, tests 2013-02-05 12:47:50 +02:00
tasks/gitlab Fix routing issues when navigating over tree, commits etc 2012-12-25 06:14:05 +03:00
workers Fixed: post-receive, project remove, tests 2013-02-05 12:47:50 +02:00
factories.rb user factory username over sequence 2013-01-28 17:46:24 +02:00
factories_spec.rb Factories spec refactoring after #1616 2012-10-03 13:33:31 +03:00
seed_project.tar.gz Rspec test repo replaced.\nMerge Requests improved 2012-03-13 23:54:49 +02:00
spec_helper.rb remove gitolite stub 2013-02-04 18:18:36 +02:00