gitlab-org--gitlab-foss/spec/graphql/types/tree/submodule_type_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
300 B
Ruby
Raw Normal View History

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