Fix type wrong error code in commits_spec.rb test suite
What does this MR do and why?
related to comment https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/3490#note_1516174155.
related to: #426945 (closed)
Edited by Patrick Cyiza
related to comment https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/3490#note_1516174155.
related to: #426945 (closed)