Skip to content

Resolve "[Rails5] Fix spec/controllers/projects/jobs_controller_spec.rb"

What does this MR do?

In Rails 5.0 response.content_type does not return charset which is expected in specs.
This MR replaces response.content_type with response.headers["Content-Type"] in specs.

Are there points in the code the reviewer needs to double check?

No.

Why was this MR needed?

Migration to Rails 5.0.

Screenshots (if relevant)

No.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #46227 (closed)

#14286 (closed)

Edited by blackst0ne

Merge request reports