Broken `master`

  1) API::API PUT /users/:id updates user's existing identity
     Failure/Error: expect(response).to have_http_status(200)
       expected the response to have status code 200 but it was 500
     # ./spec/requests/api/users_spec.rb:315:in `block (3 levels) in <top (required)>'

  2) API::API PUT /users/:id updates user with new identity
     Failure/Error: expect(response).to have_http_status(200)
       expected the response to have status code 200 but it was 500
     # ./spec/requests/api/users_spec.rb:321:in `block (3 levels) in <top (required)>'

https://gitlab.com/gitlab-org/gitlab-ce/builds/6467246

Ruby 2.1 failure.