spec/graphql/query/context_spec.rb in graphql-1.8.18 vs spec/graphql/query/context_spec.rb in graphql-1.9.0.pre1

- old
+ new

@@ -233,19 +233,9 @@ end end end end - describe "splatting" do - let(:context) { GraphQL::Query::Context.new(query: OpenStruct.new(schema: schema), values: {a: {b: 1}}, object: nil) } - - let(:splat) { ->(**context) { context } } - - it "runs successfully" do - assert_equal({a: { b: 1 }}, splat.call(context)) - end - end - describe "accessing context after the fact" do let(:query_string) { %| { pushContext } |}