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

require 'spec_helper'

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

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