test: mastodon attachments: update for added description field

This commit is contained in:
William Pitcock 2018-07-17 03:37:40 +00:00
parent 489453c246
commit 18cac1e36b
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ test "attachments" do
url: "someurl",
remote_url: "someurl",
preview_url: "someurl",
text_url: "someurl"
text_url: "someurl",
description: nil
}
assert expected == StatusView.render("attachment.json", %{attachment: object})