Sha256: cf0f0613be5e563bb863981578919f38bd7bf74a455b1462982bcb4a16970c6a
Contents?: true
Size: 592 Bytes
Versions: 8
Compression:
Stored size: 592 Bytes
Contents
require 'spec/spec_helper' describe ThinkingSphinx::Collection do it "should behave like WillPaginate::Collection" do instance_methods = ThinkingSphinx::Collection.instance_methods.collect { |m| m.to_s } instance_methods.should include("previous_page") instance_methods.should include("next_page") instance_methods.should include("current_page") instance_methods.should include("total_pages") instance_methods.should include("total_entries") instance_methods.should include("offset") ThinkingSphinx::Collection.ancestors.should include(Array) end end
Version data entries
8 entries across 8 versions & 4 rubygems