mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
upgraded pagy to latest version
This commit is contained in:
@@ -133,7 +133,7 @@ RSpec.describe "Customers", type: :request, swagger_doc: "v1.yaml", feature: :ap
|
||||
it "informs about invalid pages" do
|
||||
get "/api/v1/customers", params: { page: "0" }
|
||||
expect(json_response_ids).to eq nil
|
||||
expect(json_error_detail).to eq 'expected :page >= 1; got "0"'
|
||||
expect(json_error_detail).to eq "expected :page >= 1; got 0"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user