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

require 'spec_helper'

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

  specify { expect(described_class).to have_graphql_fields(:id, :sha, :name, :type, :path, :flat_path, :web_url) }
end