This commit is contained in:
Maxim Filippov 2018-12-25 03:47:20 +03:00
parent ca2e9ce9cc
commit 340dd7a75e

View file

@ -20,8 +20,7 @@ test "returns activities by it's objects AP ids" do
test "returns the activity that created an object" do
activity = insert(:note_activity)
found_activity =
Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
found_activity = Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
assert activity == found_activity
end