Skip to content

Freeze the text variable string to fix Uploads Rewriter spec in Ruby 3

Roy Zwambag requested to merge 366941-fix-uploads-rewriter-spec-ruby3 into master

What does this MR do and why?

This freezes the text variable to fix the spec. See #366941 (comment 1087915549) for context

How to set up and validate locally

Run the spec in both Ruby 2.7.5 (regular way) and Ruby 3.0.4, both should pass

You can run specs in ruby 3 by:

  • Executing asdf local ruby 3.0.4
  • Run the spec

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #366941 (closed)

Merge request reports