Skip to content

Fix OpenStruct use in usage_data_spec

What does this MR do and why?

Fixes OpenStruct use in spec/lib/gitlab/usage_data_spec.rb since Ruby 3 discourages it.

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 #344279

Merge request reports