6fc3263e15
Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of the missing attribute is used to show which one was missing from the request. It is used to give an appropriate message in the json response. |
||
---|---|---|
.. | ||
groups_spec.rb | ||
issues_spec.rb | ||
merge_requests_spec.rb | ||
milestones_spec.rb | ||
notes_spec.rb | ||
projects_spec.rb | ||
session_spec.rb | ||
users_spec.rb |