Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Last active May 18, 2017 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebrianemory/1b4b331ebdfa5f36ce890134f222008c to your computer and use it in GitHub Desktop.
Save thebrianemory/1b4b331ebdfa5f36ce890134f222008c to your computer and use it in GitHub Desktop.
defmodule Catcasts.PageControllerTest do
use Catcasts.ConnCase
test "GET /", %{conn: conn} do
conn = get conn, "/"
assert html_response(conn, 200) =~ "Welcome to Catcasts!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment