summaryrefslogtreecommitdiff
path: root/spec/services/system_note_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/system_note_service_spec.rb')
-rw-r--r--spec/services/system_note_service_spec.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb
index c7c5aeae670..a192fae27db 100644
--- a/spec/services/system_note_service_spec.rb
+++ b/spec/services/system_note_service_spec.rb
@@ -159,30 +159,6 @@ RSpec.describe SystemNoteService do
end
end
- describe '.request_attention' do
- let(:user) { double }
-
- it 'calls IssuableService' do
- expect_next_instance_of(::SystemNotes::IssuablesService) do |service|
- expect(service).to receive(:request_attention).with(user)
- end
-
- described_class.request_attention(noteable, project, author, user)
- end
- end
-
- describe '.remove_attention_request' do
- let(:user) { double }
-
- it 'calls IssuableService' do
- expect_next_instance_of(::SystemNotes::IssuablesService) do |service|
- expect(service).to receive(:remove_attention_request).with(user)
- end
-
- described_class.remove_attention_request(noteable, project, author, user)
- end
- end
-
describe '.merge_when_pipeline_succeeds' do
it 'calls MergeRequestsService' do
sha = double