Fix Style/OpenStructUse offenses

Open Siddharth Asthana requested to merge edith007/gitlab:issue_344279_repo_helper into master

What does this MR do and why?

This MR aims to solve the issue #344279

File Changes

  • .rubocop_todo/style/open_struct_use.yml
  • spec/support/helpers/repo_helpers.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.