bb24275f8d
If a note is created with a POST request via API (`/projects/:id/notes`) status code 400 is returned instead of 404. The resource itself exists but the request is incomplete. Specs added to check different status codes when accessing, creating and updating notes. |
||
---|---|---|
.. | ||
contexts | ||
controllers | ||
factories | ||
helpers | ||
lib | ||
mailers | ||
models | ||
observers | ||
requests | ||
routing | ||
support | ||
tasks/gitlab | ||
workers | ||
factories.rb | ||
factories_spec.rb | ||
seed_project.tar.gz | ||
spec_helper.rb |