summaryrefslogtreecommitdiff
path: root/spec/graphql/types/blob_viewers/type_enum_spec.rb
blob: 09664382af925f7790bd4d71ed2e87d1a468f02f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

describe Types::BlobViewers::TypeEnum do
  specify { expect(described_class.graphql_name).to eq('BlobViewersType') }

  it 'exposes all tree entry types' do
    expect(described_class.values.keys).to include(*%w[rich simple auxiliary])
  end
end