Commit 92b27760 authored by Mehul Sharma's avatar Mehul Sharma Committed by Peter Leitzen

Fix OpenStruct use in range_input_type

parent 79ff98fb
......@@ -2584,7 +2584,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