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

require 'spec_helper'

describe Types::Tree::TypeEnum do
  it { expect(described_class.graphql_name).to eq('EntryType') }

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