     {:ok, conn: put_req_header(conn, "accept", "application/json")}
   end
 
-  describe "index" do
+  describe "index users" do
     test "lists all users", %{conn: conn} do
       t = Accounts.get_user_by_username("admin")
       admin = %{"id" => t.id, "name" => t.name, "username" => t.username}

      assert %{"users" => users} = json_response(conn, 200)["data"]
      is_the_same_users(users, [admin])
    end
  end

  describe "create user" do

      conn = get conn, user_path(conn, :show, user.id, %{"username" => user.username})
      assert response(conn, 200)
    end

    test "not deletes chosen user when user are not authorised", %{conn: conn, user: user} do
      new_conn = delete conn, user_path(conn, :delete, user.id)
      assert json_response(new_conn, 401)["errors"]

      admin = Accounts.get_user_by_username("admin")
      conn = Boilerplate.Accounts.sign_in_user(conn, admin)
      conn = get conn, user_path(conn, :show, user.id, %{"username" => user.username})
      assert response(conn, 200)
    end
  end

  defp create_user(_) do
