Test friends timeline more thoroughly.
This commit is contained in:
parent
8eea09889b
commit
6a179a44be
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue