summaryrefslogtreecommitdiff
path: root/spec/graphql/types/ci/detailed_status_type_spec.rb
blob: 67199848df0544e6b7f81f1ba0a32640ca64a43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Ci::DetailedStatusType do
  specify { expect(described_class.graphql_name).to eq('DetailedStatus') }

  it "has all fields" do
    expect(described_class).to have_graphql_fields(:group, :icon, :favicon,
                                                   :details_path, :has_details,
                                                   :label, :text, :tooltip)
  end
end