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: a7811fc20e50d4479c2959f34fec15520b54c412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

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

    is_expected.to have_graphql_fields(expected_permissions)
  end
end