* Adds description to media items; hooks it up to indexing/media downloading * Added a search method using postgres fulltext search * Hooked up search functionality to the search form * Added persistence to the search form when on search page
10 lines
255 B
Elixir
10 lines
255 B
Elixir
defmodule PinchflatWeb.SearchControllerTest do
|
|
use PinchflatWeb.ConnCase
|
|
|
|
describe "show search" do
|
|
test "renders the page", %{conn: conn} do
|
|
conn = get(conn, ~p"/search")
|
|
assert html_response(conn, 200) =~ "Results"
|
|
end
|
|
end
|
|
end
|