summaryrefslogtreecommitdiff
path: root/spec/graphql/types/projects/repository_language_type_spec.rb
blob: fd3e0ee4e90b2191fc5c3b649813dbea906575f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Projects::RepositoryLanguageType do
  specify { expect(described_class.graphql_name).to eq('RepositoryLanguage') }

  specify do
    expect(described_class).to have_graphql_fields(
      :name,
      :share,
      :color
    )
  end
end