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.
13 lines
342 B
Elixir
13 lines
342 B
Elixir
defmodule Asciinema.AsciicastImageControllerTest do
|
|
use Asciinema.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
|