Sha256: 093c652745ed98dba41cf54bbe12e0d808f0561e05c7ca24c3fa7bdde8e359a1
Contents?: true
Size: 226 Bytes
Versions: 13
Compression:
Stored size: 226 Bytes
Contents
require 'spec_helper' describe GraphQL::EnumType do let(:enum) { DairyAnimalEnum } it 'coerces names to underlying values' do assert_equal("YAK", enum.coerce("YAK")) assert_equal(1, enum.coerce("COW")) end end
Version data entries
13 entries across 13 versions & 1 rubygems