Sha256: ba5434210d04fd46dba64a499091ec82e2c4384cc4c963e4e9945fe26bdac7a9
Contents?: true
Size: 252 Bytes
Versions: 71
Compression:
Stored size: 252 Bytes
Contents
require 'test_helper' class PaginationTest < Test::Unit::TestCase should "default per_page to 25" do Doc().per_page.should == 25 end should "allow overriding per_page" do Doc() { def self.per_page; 1 end }.per_page.should == 1 end end
Version data entries
71 entries across 71 versions & 9 rubygems