rename page to home
This commit is contained in:
		
							
								
								
									
										8
									
								
								test/cannery_web/controllers/home_controller_test.exs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								test/cannery_web/controllers/home_controller_test.exs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| defmodule CanneryWeb.HomeControllerTest do | ||||
|   use CanneryWeb.ConnCase | ||||
|  | ||||
|   test "GET /", %{conn: conn} do | ||||
|     conn = get(conn, "/") | ||||
|     assert html_response(conn, 200) =~ "Welcome to Cannery" | ||||
|   end | ||||
| end | ||||
| @@ -1,8 +0,0 @@ | ||||
| defmodule CanneryWeb.PageControllerTest do | ||||
|   use CanneryWeb.ConnCase | ||||
|  | ||||
|   test "GET /", %{conn: conn} do | ||||
|     conn = get(conn, "/") | ||||
|     assert html_response(conn, 200) =~ "Welcome to Phoenix!" | ||||
|   end | ||||
| end | ||||
		Reference in New Issue
	
	Block a user