Commit f7eb59c3 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix_user_notes_count_resolver_spec_notes' into 'master'

Fix user_notes_count_resolver_spec test descriptions

See merge request gitlab-org/gitlab!49964
parents 1515f833 ed6137f9
......@@ -41,7 +41,7 @@ RSpec.describe Resolvers::UserNotesCountResolver do
end
end
context 'when a user does not have permission to view discussions' do
context 'when a user does not have permission to view notes' do
subject { batch_sync { resolve_user_notes_count(private_issue) } }
it 'returns no notes' do
......@@ -77,7 +77,7 @@ RSpec.describe Resolvers::UserNotesCountResolver do
end
end
context 'when a user does not have permission to view discussions' do
context 'when a user does not have permission to view notes' do
subject { batch_sync { resolve_user_notes_count(private_merge_request) } }
it 'returns no notes' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment