Commit 3433375dd9125320d1bf68e1ec554fe207f74711
1 parent
1418ccac
Exists in
master
and in
21 other branches
Added offset for #139
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
lib/searchkick/results.rb
test/sql_test.rb
... | ... | @@ -29,6 +29,7 @@ class TestSql < Minitest::Unit::TestCase |
29 | 29 | assert_equal 5, products.total_entries |
30 | 30 | assert_equal 2, products.limit_value |
31 | 31 | assert_equal 4, products.offset_value |
32 | + assert_equal 4, products.offset | |
32 | 33 | assert !products.first_page? |
33 | 34 | assert !products.last_page? |
34 | 35 | end | ... | ... |