Sha256: 1ce25babb0f4cf6510539c650a4e2d76cd00f3bca6200ee6b028efff9e6ab661

Contents?: true

Size: 277 Bytes

Versions: 16

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'

describe GraphQL::InputObjectType do
  let(:input_object) { DairyProductInputType }
  it 'has a description' do
    assert(input_object.description)
  end

  it 'has input fields' do
    assert(DairyProductInputType.input_fields["fatContent"])
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
graphql-0.9.5 spec/graphql/input_object_type_spec.rb
graphql-0.9.4 spec/graphql/input_object_type_spec.rb
graphql-0.9.3 spec/graphql/input_object_type_spec.rb
graphql-0.9.2 spec/graphql/input_object_type_spec.rb
graphql-0.8.1 spec/graphql/input_object_type_spec.rb
graphql-0.8.0 spec/graphql/input_object_type_spec.rb
graphql-0.7.1 spec/graphql/input_object_type_spec.rb
graphql-0.7.0 spec/graphql/input_object_type_spec.rb
graphql-0.6.2 spec/graphql/input_object_type_spec.rb
graphql-0.6.1 spec/graphql/input_object_type_spec.rb
graphql-0.6.0 spec/graphql/input_object_type_spec.rb
graphql-0.5.0 spec/graph_ql/input_object_type_spec.rb
graphql-0.4.0 spec/graph_ql/input_object_type_spec.rb
graphql-0.3.0 spec/graph_ql/types/input_object_type_spec.rb
graphql-0.2.0 spec/graph_ql/types/input_object_type_spec.rb
graphql-0.1.0 spec/graph_ql/types/input_object_type_spec.rb