2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Types::Ci::DetailedStatusType do
|
|
|
|
it { 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
|