about summary refs log tree commit diff
path: root/spec/services/activitypub/process_collection_service_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-18 16:54:30 -0500
committerGitHub <noreply@github.com>2023-02-19 06:54:30 +0900
commit08289a38fa787694cb1c94292bd60b119a906315 (patch)
tree1eafb8d320e5407e0d12a90a43a9091061ec769c /spec/services/activitypub/process_collection_service_spec.rb
parent5069769cbe7295268e8b87ce34fa0a753bfbb233 (diff)
Autofix Rubocop Style/TrailingCommaInArrayLiteral (#23692)
Diffstat (limited to 'spec/services/activitypub/process_collection_service_spec.rb')
-rw-r--r--spec/services/activitypub/process_collection_service_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/services/activitypub/process_collection_service_spec.rb b/spec/services/activitypub/process_collection_service_spec.rb
index 0fa5321bc..fbfa6d6c6 100644
--- a/spec/services/activitypub/process_collection_service_spec.rb
+++ b/spec/services/activitypub/process_collection_service_spec.rb
@@ -107,17 +107,17 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
             '@context': [
               'https://www.w3.org/ns/activitystreams',
               nil,
-              { object: 'https://www.w3.org/ns/activitystreams#object' }
+              { object: 'https://www.w3.org/ns/activitystreams#object' },
             ],
             id: 'https://example.com/users/bob/fake-status/activity',
             type: 'Create',
             actor: 'https://example.com/users/bob',
             published: '2022-01-22T15:00:00Z',
             to: [
-              'https://www.w3.org/ns/activitystreams#Public'
+              'https://www.w3.org/ns/activitystreams#Public',
             ],
             cc: [
-              'https://example.com/users/bob/followers'
+              'https://example.com/users/bob/followers',
             ],
             signature: {
               type: 'RsaSignature2017',
@@ -140,10 +140,10 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
               url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ&feature=puck-was-here',
               attributedTo: 'https://example.com/users/bob',
               to: [
-                'https://www.w3.org/ns/activitystreams#Public'
+                'https://www.w3.org/ns/activitystreams#Public',
               ],
               cc: [
-                'https://example.com/users/bob/followers'
+                'https://example.com/users/bob/followers',
               ],
               sensitive: false,
               atomUri: 'https://example.com/users/bob/fake-status',
@@ -166,7 +166,7 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
                 {
                   '@value': '<p>hello world</p>',
                   '@language': 'en',
-                }
+                },
               ],
               'https://www.w3.org/ns/activitystreams#published': {
                 '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',