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

require 'spec_helper'

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

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