You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/test/controllers/asciicast_image_controller_...

13 lines
345 B
Elixir

defmodule Asciinema.AsciicastImageControllerTest do
use AsciinemaWeb.ConnCase
@tag :a2png
test "renders asciicast image preview", %{conn: conn} do
asciicast = fixture(:asciicast)
conn = get conn, asciicast_image_download_path(conn, asciicast)
assert response(conn, 200)
assert response_content_type(conn, :png)
end
end