Skip to content

Fix Style/OpenStructUse offenses in auth provider specs

What does this MR do and why?

This MR aims to solve the issue #344279

Fixes OpenStruct use since Ruby 3 discourages it.

File Changes

  • .rubocop_todo/style/open_struct_use.yml
  • spec/lib/gitlab/auth/o_auth/provider_spec.rb

MR acceptance checklist

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

Edited by Peter Leitzen

Merge request reports

Loading