Sha256: d976f13b889f8e6aa4703593412ac8bd425823a0028db2eb4d9169405071d158

Contents?: true

Size: 252 Bytes

Versions: 16

Compression:

Stored size: 252 Bytes

Contents

require 'spec_helper'

describe GraphQL::Query::TypeResolver do
  it 'resolves correcty when child_type is UnionType' do
    type = GraphQL::Query::TypeResolver.new(MILKS[1], DairyProductUnion, MilkType).type
    assert_equal(MilkType, type)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
graphql-0.12.1 spec/graphql/query/type_resolver_spec.rb
graphql-0.12.0 spec/graphql/query/type_resolver_spec.rb
graphql-0.11.1 spec/graphql/query/type_resolver_spec.rb
graphql-0.11.0 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.9 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.8 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.7 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.6 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.5 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.4 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.3 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.2 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.1 spec/graphql/query/type_resolver_spec.rb
graphql-0.10.0 spec/graphql/query/type_resolver_spec.rb
graphql-0.9.5 spec/graphql/query/type_resolver_spec.rb
graphql-0.9.4 spec/graphql/query/type_resolver_spec.rb