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_embed_controller_...

10 lines
241 B
Elixir

defmodule Asciinema.AsciicastEmbedControllerTest do
use Asciinema.ConnCase
test "serves embed js", %{conn: conn} do
conn = get conn, "/a/12345.js"
assert response(conn, 200)
assert response_content_type(conn, :js)
end
end