Autofix Rubocop Style/TrailingCommaInArrayLiteral (#23692)
This commit is contained in:
parent
5069769cbe
commit
08289a38fa
6 changed files with 10 additions and 22 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue