diff options
Diffstat (limited to 'spec/graphql/types/permission_types')
-rw-r--r-- | spec/graphql/types/permission_types/note_spec.rb | 4 |
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 |