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

note_spec.rb « permission_types « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9769c7b3aa35c5a767ec19d1b5868d47a505ea65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['NotePermissions'] do
  it 'has the expected fields' do
    expected_permissions = [
      :read_note, :create_note, :admin_note, :resolve_note, :award_emoji
    ]

    expect(described_class).to have_graphql_fields(expected_permissions)
  end
end