Last active
January 17, 2018 20:13
-
-
Save thebrianemory/a7318b84d4a63d0c3871e8e83f4f3277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "new video" do | |
test "renders form", %{conn: conn} do | |
user = insert(:user) | |
conn = conn | |
|> assign(:user, user) | |
|> get(video_path(conn, :new)) | |
assert html_response(conn, 200) =~ "Add video" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment