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

require 'spec_helper'

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

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