diff options
author | ThibG <thib@sitedethib.com> | 2019-09-03 22:52:32 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-03 22:52:32 +0200 |
commit | 692c5b439ae8659e459da692cf9e6b8e6f29d2a1 (patch) | |
tree | d2017e07bc174ad55a910f4c4c85c03f8c7f1407 /spec/lib/activitypub | |
parent | ec1dd865fb09de2505e24001bdb5f3ac82f34a43 (diff) |
Fix ActivityPub context not being dynamically computed (#11746)
* Fix contexts not being dynamically included Fixes #11649 * Refactor Note context in serializer * Refactor Actor serializer
Diffstat (limited to 'spec/lib/activitypub')
-rw-r--r-- | spec/lib/activitypub/activity/update_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/activitypub/activity/update_spec.rb b/spec/lib/activitypub/activity/update_spec.rb index fbfc585cf..42da29860 100644 --- a/spec/lib/activitypub/activity/update_spec.rb +++ b/spec/lib/activitypub/activity/update_spec.rb @@ -19,7 +19,7 @@ RSpec.describe ActivityPub::Activity::Update do end let(:actor_json) do - ActiveModelSerializers::SerializableResource.new(modified_sender, serializer: ActivityPub::ActorSerializer, key_transform: :camel_lower).as_json + ActiveModelSerializers::SerializableResource.new(modified_sender, serializer: ActivityPub::ActorSerializer, adapter: ActivityPub::Adapter).as_json end let(:json) do |