Sha256: 69f04d0b1cae9528b7775a7ca168969bec552f4b7eaddefde6f578c9d066f22c
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
require 'test/helper' require 'test/helper_pagify' class TestBasic < TestCase include PagifyCase def test_basic pager = Pagify::BasicPager.new( :fetcher => lambda{ |offset, per_page| # if for rails, # Data.find :all, :offset => offset, :limit => per_page PagifyCase.data[offset, per_page] }, :counter => lambda{ # if for rails, # Data.count PagifyCase.data.size }) for_pager pager end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pagify-0.7.1 | test/test_basic.rb |
pagify-0.7.0 | test/test_basic.rb |