Test friends timeline more thoroughly.
This commit is contained in:
parent
8eea09889b
commit
6a179a44be
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ test "fetch friends' statuses" do
|
||||||
|
|
||||||
assert length(statuses) == 2
|
assert length(statuses) == 2
|
||||||
assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user})
|
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
|
end
|
||||||
|
|
||||||
test "fetch a single status" do
|
test "fetch a single status" do
|
||||||
|
|
Loading…
Reference in a new issue