module GraphQL::Compatibility::ExecutionSpecification

def test_it_runs_middleware

def test_it_runs_middleware
  log = []
  query_string = %|
  {
    node(id: "2001") {
      __typename
    }
  }|
  execute_query(query_string, context: {middleware_log: log})
  assert_equal ["node", "__typename"], log
end