gitlabhq/spec/requests
Felix Gilcher ce6436b98a Don't crash when removing a user that's not project member
The attempt to revoke project access for a user that was not member of the
project results in a 500 Internal Server error where it actually should
result in a 200 OK since after the operation, the user is not member of
the project. This turns the operation into an idempotent call that can
be repeated with no ill effects.

Updated the spec and changed the code accordingly. However, the result differs
slightly, as we can't return the users project access level if the user was not
member. I'm not aware if anybody relies on the result of this call.

Fixes #2832
2013-02-01 13:53:35 +00:00
..
admin Add optional signup. 2013-01-18 11:57:31 +01:00
api Don't crash when removing a user that's not project member 2013-02-01 13:53:35 +00:00
atom Fixed dashboard show specs 2013-01-27 13:20:23 +02:00
security Fix security spec 2013-01-05 00:49:43 +02:00
gitlab_flavored_markdown_spec.rb should be green build now :) 2013-01-15 19:18:52 +02:00
issues_spec.rb Continue refactoring. Use repostory and team 2013-01-04 08:43:25 +02:00
notes_on_merge_requests_spec.rb Fix spec/requests/notes_on_merge_requests_spec.r 2013-01-15 18:20:58 +02:00
notes_on_wall_spec.rb fix notes_on_wall specs 2013-01-15 15:04:22 +02:00
projects_deploy_keys_spec.rb Rspec fixes 2013-01-04 18:50:31 +02:00
projects_spec.rb A bit of spinach tests 2013-01-09 08:14:05 +03:00
search_spec.rb Rspec fixes 2013-01-04 18:50:31 +02:00
snippets_spec.rb Rspec fixes 2013-01-04 18:50:31 +02:00