gitlab-org--gitlab-foss/spec/graphql/types/subscription_type_spec.rb

17 lines
383 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['Subscription'] do
it 'has the expected fields' do
expected_fields = %i[
issuable_assignees_updated
issue_crm_contacts_updated
issuable_title_updated
issuable_labels_updated
]
expect(described_class).to have_graphql_fields(*expected_fields).only
end
end