Welcome to mirror list, hosted at ThFree Co, Russian Federation.

discussion_type_spec.rb « notes « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 804785ba67d5e35465e6201b1dfe51d9796f8c74 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true
require 'spec_helper'

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

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