Sha256: 1c3fe71d15813adfe0eb0708c9c75e06bfb9ec9693a9ae671ec320a08dbc78b9
Contents?: true
Size: 757 Bytes
Versions: 29
Compression:
Stored size: 757 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe 'WillPaginate::Liquidized' do before(:each) do # setup end it "should return Collection Drop for collection to_liquid" #do #@collection.to_liquid.class.should eql(WillPaginate::Liquidized::CollectionDrop) #end it "should allow access to collection drop methods" # do # [:current_page, :per_page, :total_entries, :total_pages, :offset, # :previous_page, :next_page, :empty?, :length ].each do |method| # assert_nothing_raised { @blogs.send method } # end # assert_nothing_raised { @blogs.sort_by do 1 end } # end it "should allow array access to collection" # do # assert_nothing_raised { assert_equal 1, @blogs[0] } # end end
Version data entries
29 entries across 29 versions & 1 rubygems