Sha256: ae0d85a94de91fbf5e17068d95df2eeca838d0c829497fce546a93ece9cf610f
Contents?: true
Size: 223 Bytes
Versions: 4
Compression:
Stored size: 223 Bytes
Contents
require 'spec_helper' describe GraphQL::Field do it 'accepts a proc as type' do field = GraphQL::Field.new { |f| f.type(-> { DairyProductUnion }) } assert_equal(DairyProductUnion, field.type) end end
Version data entries
4 entries across 4 versions & 1 rubygems