summaryrefslogtreecommitdiff
path: root/spec/graphql/types/permission_types
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-19 08:27:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-19 08:27:35 +0000
commit7e9c479f7de77702622631cff2628a9c8dcbc627 (patch)
treec8f718a08e110ad7e1894510980d2155a6549197 /spec/graphql/types/permission_types
parente852b0ae16db4052c1c567d9efa4facc81146e88 (diff)
downloadgitlab-ce-7e9c479f7de77702622631cff2628a9c8dcbc627.tar.gz
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/graphql/types/permission_types')
-rw-r--r--spec/graphql/types/permission_types/note_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/graphql/types/permission_types/note_spec.rb b/spec/graphql/types/permission_types/note_spec.rb
index 9769c7b3aa3..d75284951c7 100644
--- a/spec/graphql/types/permission_types/note_spec.rb
+++ b/spec/graphql/types/permission_types/note_spec.rb
@@ -5,9 +5,9 @@ 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
+ :read_note, :create_note, :admin_note, :resolve_note, :reposition_note, :award_emoji
]
- expect(described_class).to have_graphql_fields(expected_permissions)
+ expect(described_class).to have_graphql_fields(expected_permissions).only
end
end