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

Version Path
liquid_cms-0.3.2.0 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.2.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.1.1 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.1.0 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.1.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.13 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.10 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.9 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.12 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.11 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.10 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.8 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.9 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.7 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.6 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.8 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.5 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.7 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.3.0.4 lib/generators/liquid_cms/templates/vendor/plugins/will_paginate-liquidized/spec/liquidized_spec.rb
liquid_cms-0.2.0.6 generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb