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

require 'spec_helper'

RSpec.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