Commit ed6137f9 authored by Jonathan Schafer's avatar Jonathan Schafer

Fix user_notes_count_resolver_spec test descriptions

parent d1b99a96
......@@ -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