Fix: no implicit conversion of String into Array

What does this MR do and why?

This MR fixes the no implicit conversion of String into Array (TypeError) thrown by the selectiveSync module when selective sync by organization is disabled.

References

#571455 (closed)

How to set up and validate locally

  • Run the added spec from this MR, without the fix to selective_sync.rb;
  • The spec fails!
  • Now apply the fix;
  • The spec passes!

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #571455 (closed)

Merge request reports

Loading