diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 21:23:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 03:23:49 +0100 |
commit | 634368c491c8e89d93b54dd2dc170f0873beafcb (patch) | |
tree | f3875a6a91f7caf6a2fa568f10145d62a089d386 /spec/lib/activitypub | |
parent | 6d42820e5df4a2282af1194a98789b45027aabce (diff) |
Autofix Rubocop Lint/SymbolConversion (#23683)
Diffstat (limited to 'spec/lib/activitypub')
-rw-r--r-- | spec/lib/activitypub/activity/announce_spec.rb | 6 | ||||
-rw-r--r-- | spec/lib/activitypub/activity/create_spec.rb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/lib/activitypub/activity/announce_spec.rb b/spec/lib/activitypub/activity/announce_spec.rb index e9cd6c68c..1b3485384 100644 --- a/spec/lib/activitypub/activity/announce_spec.rb +++ b/spec/lib/activitypub/activity/announce_spec.rb @@ -82,9 +82,9 @@ RSpec.describe ActivityPub::Activity::Announce do content: 'Lorem ipsum', attributedTo: 'https://example.com/actor', to: { - 'type': 'OrderedCollection', - 'id': 'http://example.com/followers', - 'first': 'http://example.com/followers?page=true', + type: 'OrderedCollection', + id: 'http://example.com/followers', + first: 'http://example.com/followers?page=true', } } end diff --git a/spec/lib/activitypub/activity/create_spec.rb b/spec/lib/activitypub/activity/create_spec.rb index cd0f2df6e..074aa54ca 100644 --- a/spec/lib/activitypub/activity/create_spec.rb +++ b/spec/lib/activitypub/activity/create_spec.rb @@ -252,9 +252,9 @@ RSpec.describe ActivityPub::Activity::Create do type: 'Note', content: 'Lorem ipsum', to: { - 'type': 'OrderedCollection', - 'id': 'http://example.com/followers', - 'first': 'http://example.com/followers?page=true', + type: 'OrderedCollection', + id: 'http://example.com/followers', + first: 'http://example.com/followers?page=true', } } end |