Commit 6a179a44 authored by lain's avatar lain
Browse files

Test friends timeline more thoroughly.

parent 8eea0988
......@@ -93,6 +93,7 @@ test "fetch friends' statuses" do
assert length(statuses) == 2
assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user})
assert Enum.at(statuses, 1) == ActivityRepresenter.to_map(direct_activity, %{user: activity_user, mentioned: [user]})
end
test "fetch a single status" do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment