Skip to content

[Rails5] Fix pipeline_schedules_controller_spec

What does this MR do?

In Rails 5.0 there's a bug in controller tests that doesn't parse nested parameters correctly.

This commit brings a workaround to make specs work again both in rails4 and rails5.

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 #48011 (closed)

Edited by Rémy Coutable

Merge request reports