summaryrefslogtreecommitdiff
path: root/spec/graphql/types/label_type_spec.rb
blob: f498b32f9ed43d86ae09f50b6ea684b2cacb15b4 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true
require 'spec_helper'

describe GitlabSchema.types['Label'] do
  it 'has the correct fields' do
    expected_fields = [:description, :description_html, :title, :color, :text_color]

    is_expected.to have_graphql_fields(*expected_fields)
  end
end