2019-05-22 11:43:35 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Types::Tree::SubmoduleType do
|
|
|
|
it { expect(described_class.graphql_name).to eq('Submodule') }
|
|
|
|
|
2019-07-17 13:06:19 +00:00
|
|
|
it { expect(described_class).to have_graphql_fields(:id, :name, :type, :path, :flat_path, :web_url, :tree_url) }
|
2019-05-22 11:43:35 +00:00
|
|
|
end
|