Skip to content

Remove deprecated xhr from specs

Jasper Maes requested to merge jlemaes/gitlab-ce:fix-55448 into master

What does this MR do?

Fixes deprecation:

DEPRECATION WARNING: `xhr` and `xml_http_request` are deprecated and will be removed in Rails 5.1.
Switch to e.g. `post :create, params: { comment: { body: 'Honey bunny' } }, xhr: true`.

What are the relevant issue numbers?

Closes #55448 (closed).

Does this MR meet the acceptance criteria?

Merge request reports