2019-10-17 09:07:07 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-03-01 21:41:16 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe Types::Ci::DetailedStatusType do
|
2020-05-07 06:09:38 +00:00
|
|
|
specify { expect(described_class.graphql_name).to eq('DetailedStatus') }
|
2019-03-01 21:41:16 +00:00
|
|
|
|
|
|
|
it "has all fields" do
|
|
|
|
expect(described_class).to have_graphql_fields(:group, :icon, :favicon,
|
|
|
|
:details_path, :has_details,
|
|
|
|
:label, :text, :tooltip)
|
|
|
|
end
|
|
|
|
end
|