summaryrefslogtreecommitdiff
path: root/spec/graphql/types/tree/tree_type_spec.rb
blob: 23779d75600b90439ccf3692bbcfcc17303f454a (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

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

  it { expect(described_class).to have_graphql_fields(:trees, :submodules, :blobs, :last_commit) }
end