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

require 'spec_helper'

RSpec.describe Types::Tree::TypeEnum do
  specify { 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