Skip to content

Instantly share code, notes, and snippets.

@jorgedjr21
Created November 25, 2019 17:31
Show Gist options
  • Save jorgedjr21/697df17058ec0306064e0100b9a40cc7 to your computer and use it in GitHub Desktop.
Save jorgedjr21/697df17058ec0306064e0100b9a40cc7 to your computer and use it in GitHub Desktop.
test/contasapp_web/templates/navbar_test.exs
defmodule ContasappWeb.NavbarTest do
use ContasappWeb.ConnCase
test "should show an Sign in with Google link when not signed_in", %{conn: conn} do
conn = get conn, "/"
assert html_response(conn, 200) =~ "Login with Google"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment