       |> send_request
 
     assert html_response(conn, 200) =~ "New frontpage photo"
+  end
+
+  test "show", %{user: user} do
+    fp_photo = Factory.create(:frontpage_photo)
+
+    conn =
+      :get
+      |> call("#{@fp_url}/#{fp_photo.id}")
+      |> with_user(user)
+      |> send_request
+
+    assert html_response(conn, 200) =~ "Show frontpage photo"
   end
 
   test "edit" do


    assert redirected_to(conn, 302) =~ @portfolio_url
    assert get_flash(conn, :info) == "Frontpage photo updated"
  end

  test "delete_confirm" do

    {:ok, %{user: user}}
  end

  test "index" do
    conn =
      :get
      |> call("#{@fp_url}")
      |> with_user
      |> send_request

    assert html_response(conn, 200) =~ "Index - frontpage photos"
  end

  test "new" do
    conn =
      :get
