about summary refs log tree commit diff
path: root/spec/services/activitypub
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-17 07:36:14 -0500
committerGitHub <noreply@github.com>2023-02-17 21:36:14 +0900
commit37914c8757062194c8da2ede28927fdc177dc140 (patch)
tree23f3452447a2a0dba7207d4641092c308853c59e /spec/services/activitypub
parent4a1bad2fd8bb267f57fb81ee2e9d29a3cc5f612d (diff)
Autofix Rubocop Style/MethodCallWithoutArgsParentheses (#23645)
Diffstat (limited to 'spec/services/activitypub')
-rw-r--r--spec/services/activitypub/process_collection_service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/activitypub/process_collection_service_spec.rb b/spec/services/activitypub/process_collection_service_spec.rb
index 093a188a2..a308cede7 100644
--- a/spec/services/activitypub/process_collection_service_spec.rb
+++ b/spec/services/activitypub/process_collection_service_spec.rb
@@ -212,8 +212,8 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
                 'id' => 'https://example.com/users/bob/fake-status'
               )
             ),
-            anything(),
-            anything()
+            anything,
+            anything
           )
 
           expect(ActivityPub::Activity).not_to receive(:factory).with(
@@ -222,8 +222,8 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
                 'content' => '<p>puck was here</p>'
               )
             ),
-            anything(),
-            anything()
+            anything,
+            anything
           )
 
           subject.call(json, forwarder)