gitlabhq/spec
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
..
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 fixing tests after refactoring 2013-02-11 20:28:27 +02:00
mailers Fix mailer tests 2013-02-01 15:37:21 +02:00
models fixing tests after refactoring 2013-02-11 20:28:27 +02:00
observers fixing tests after refactoring 2013-02-11 20:28:27 +02:00
requests API: changed status codes for project hooks functions 2013-02-12 17:44:42 +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 fixing tests after refactoring 2013-02-11 20:28:27 +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 No gitolite in project any more 2013-02-11 19:16:59 +02:00