summaryrefslogtreecommitdiff
path: root/spec/graphql/types/notes/discussion_type_spec.rb
blob: 44774594d1701ce38d69e5ffc77b94bfabe774ea (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true
require 'spec_helper'

describe GitlabSchema.types['Discussion'] do
  specify { expect(described_class).to have_graphql_fields(:id, :created_at, :notes, :reply_id) }

  specify { expect(described_class).to require_graphql_authorizations(:read_note) }
end