Commit fa5bdcbe authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'issue_344279_last_4' into 'master'

Fix offenses introduced by Style/OpenStructUse `stub_feature_flags_spec`

See merge request gitlab-org/gitlab!74201
parents e1516d55 add1dab6
......@@ -2629,6 +2629,5 @@ Style/OpenStructUse:
- 'spec/support/shared_examples/controllers/githubish_import_controller_shared_examples.rb'
- 'spec/support/shared_examples/requests/api/nuget_packages_shared_examples.rb'
- 'spec/support/shared_examples/requests/api/pypi_packages_shared_examples.rb'
- 'spec/support_specs/helpers/stub_feature_flags_spec.rb'
- 'spec/tooling/rspec_flaky/flaky_example_spec.rb'
- 'tooling/rspec_flaky/flaky_example.rb'
......@@ -97,7 +97,7 @@ RSpec.describe StubFeatureFlags do
context 'type handling' do
context 'raises error' do
where(:feature_actors) do
['string', 1, 1.0, OpenStruct.new]
['string', 1, 1.0, Object.new]
end
with_them do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment