now with pagination
This commit is contained in:
@@ -29,7 +29,7 @@ defmodule LabelmakerWeb.LabelsControllerTest do
|
||||
html = html_response(conn, 200)
|
||||
|
||||
assert html =~ "Generated Labels"
|
||||
assert html =~ "Total labels: 3"
|
||||
assert html =~ "Showing 1-3 of 3 labels"
|
||||
end
|
||||
|
||||
test "displays label information correctly", %{conn: conn} do
|
||||
@@ -59,7 +59,7 @@ defmodule LabelmakerWeb.LabelsControllerTest do
|
||||
html = html_response(conn, 200)
|
||||
|
||||
# Should show all labels
|
||||
assert html =~ "Total labels: 3"
|
||||
assert html =~ "Showing 1-3 of 3 labels"
|
||||
end
|
||||
|
||||
test "handles missing labels directory gracefully", %{conn: conn} do
|
||||
|
||||
Reference in New Issue
Block a user