Commit 945609b6 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '344279-range-input-fix' into 'master'

Fix OpenStruct use in range_input_type

See merge request gitlab-org/gitlab!75077
parents b93d0f11 92b27760
......@@ -2581,7 +2581,6 @@ Style/OpenStructUse:
- 'spec/graphql/mutations/commits/create_spec.rb'
- 'spec/graphql/mutations/merge_requests/accept_spec.rb'
- 'spec/graphql/mutations/merge_requests/create_spec.rb'
- 'spec/graphql/types/range_input_type_spec.rb'
- 'spec/helpers/application_settings_helper_spec.rb'
- 'spec/helpers/profiles_helper_spec.rb'
- 'spec/initializers/doorkeeper_spec.rb'
......
......@@ -24,7 +24,7 @@ RSpec.describe ::Types::RangeInputType do
it 'follows expected subtyping relationships for instances' do
context = GraphQL::Query::Context.new(
query: OpenStruct.new(schema: nil),
query: double('query', schema: nil),
values: {},
object: nil
)
......
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