Include timestamps in record detail page
This commit is contained in:
@@ -36,6 +36,8 @@ defmodule MusicLibraryWeb.RecordShowTest do
|
||||
assert html =~ Record.format_short_label(record.format)
|
||||
assert html =~ record.release
|
||||
assert html =~ ~p"/covers/#{record.id}?vsn=#{record.cover_hash}"
|
||||
assert html =~ Phoenix.HTML.Safe.to_iodata(record.inserted_at)
|
||||
assert html =~ Phoenix.HTML.Safe.to_iodata(record.updated_at)
|
||||
|
||||
for artist <- record.artists do
|
||||
assert html =~ escape(artist["name"])
|
||||
|
||||
Reference in New Issue
Block a user