debian-mirror-gitlab/spec/graphql/types/tree/submodule_type_spec.rb
2019-09-30 21:07:59 +05:30

9 lines
278 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe Types::Tree::SubmoduleType do
it { expect(described_class.graphql_name).to eq('Submodule') }
it { expect(described_class).to have_graphql_fields(:id, :name, :type, :path, :flat_path, :web_url, :tree_url) }
end