Commit 6c744d0132cc073b46e48f481cf8740a60458cd9
1 parent
e713f7f9
Exists in
master
and in
19 other branches
Fixed pagination test [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/pagination_test.rb
... | ... | @@ -14,7 +14,7 @@ class PaginationTest < Minitest::Test |
14 | 14 | |
15 | 15 | def test_offset |
16 | 16 | store_names ["Product A", "Product B", "Product C", "Product D"] |
17 | - assert_order "product", ["Product C", "Product D"], order: {name: :asc}, offset: 2 | |
17 | + assert_order "product", ["Product C", "Product D"], order: {name: :asc}, offset: 2, limit: 100 | |
18 | 18 | end |
19 | 19 | |
20 | 20 | def test_pagination | ... | ... |