Commit e6399ff5d7afb02fae803208b000096069cf5e70
1 parent
1ff92eda
Exists in
master
and in
21 other branches
Fixed offset_value - closes #206
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
CHANGELOG.md
lib/searchkick/results.rb
test/sql_test.rb
... | ... | @@ -30,8 +30,8 @@ class TestSql < Minitest::Unit::TestCase |
30 | 30 | assert_equal 5, products.total_count |
31 | 31 | assert_equal 5, products.total_entries |
32 | 32 | assert_equal 2, products.limit_value |
33 | - assert_equal 4, products.offset_value | |
34 | - assert_equal 4, products.offset | |
33 | + assert_equal 2, products.offset_value | |
34 | + assert_equal 2, products.offset | |
35 | 35 | assert !products.first_page? |
36 | 36 | assert !products.last_page? |
37 | 37 | assert !products.empty? | ... | ... |