Sha256: 012bd2e668dc0d06040b11adbc9b60049f0126d60198474ba34c709e550f303e
Contents?: true
Size: 529 Bytes
Versions: 28
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe GraphQL::Language::Nodes::AbstractNode do describe "child and scalar attributes" do it "are inherited by node subclasses" do subclassed_directive = Class.new(GraphQL::Language::Nodes::Directive) assert_equal GraphQL::Language::Nodes::Directive.scalar_attributes, subclassed_directive.scalar_attributes assert_equal GraphQL::Language::Nodes::Directive.child_attributes, subclassed_directive.child_attributes end end end
Version data entries
28 entries across 28 versions & 1 rubygems