test/collection_test.rb in will_paginate-2.2.2 vs test/collection_test.rb in will_paginate-2.3.11

- old
+ new

@@ -1,8 +1,11 @@ require 'helper' require 'will_paginate/array' class ArrayPaginationTest < Test::Unit::TestCase + + def setup ; end + def test_simple collection = ('a'..'e').to_a [{ :page => 1, :per_page => 3, :expected => %w( a b c ) }, { :page => 2, :per_page => 3, :expected => %w( d e ) },