blob: 04f0c72b06f3aca9f2c4c1a5604883252828baf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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_description_updated
issuable_labels_updated
issuable_dates_updated
issuable_milestone_updated
merge_request_reviewers_updated
merge_request_merge_status_updated
]
expect(described_class).to include_graphql_fields(*expected_fields)
end
end
|