gitlab-org--gitlab-foss/spec/graphql/types/ci/detailed_status_type_spec.rb

14 lines
445 B
Ruby

# 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