test/collection_test.rb in mislav-will_paginate-2.3.4 vs test/collection_test.rb in mislav-will_paginate-2.3.5

- 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 ) },