Fix spec.
authorRoger Braun <roger@rogerbraun.net>
Tue, 28 Mar 2017 12:04:13 +0000 (14:04 +0200)
committerRoger Braun <roger@rogerbraun.net>
Tue, 28 Mar 2017 12:04:13 +0000 (14:04 +0200)
test/web/twitter_api/twitter_api_controller_test.exs

index 4cc009326177180568d64b3218f59adc5e90d4d4..0e732861352687c52545274bc1ac4cecf514d330 100644 (file)
@@ -63,7 +63,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
 
       response = json_response(conn, 200)
 
-      assert reponse = ActivityRepresenter.to_map(activity, %{user: actor})
+      assert response == ActivityRepresenter.to_map(activity, %{user: actor})
     end
   end