switch to pagy for pagination

This commit is contained in:
2026-02-03 21:21:53 +01:00
parent f35a09f07a
commit a139bde102
9 changed files with 32 additions and 17 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ class EntriesControllerTest < ActionDispatch::IntegrationTest
test "should paginate results" do
get entries_url, params: { page: 2 }
assert_response :success
assert_select "div", text: /Page 2 of/i
assert_not_nil assigns(:pagy)
assert_select "div", text: /Displaying/i
end
test "should handle invalid language code" do