summaryrefslogtreecommitdiff
path: root/spec/graphql/types/notes/deleted_note_type_spec.rb
blob: 70985484e758c91420a99f1ed0f75fe4e25253fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['DeletedNote'], feature_category: :team_planning do
  it 'exposes the expected fields' do
    expected_fields = %i[
      id
      discussion_id
      last_discussion_note
    ]

    expect(described_class).to have_graphql_fields(*expected_fields).only
  end
end