summaryrefslogtreecommitdiff
path: root/spec/graphql/types/subscription_type_spec.rb
blob: 1a2629ed422a1428d1b9f9fd19bb0d59a8d729c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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