Sha256: 74dfc34293d40fc96c07fe904816e09d9c4e836e950c6bff3f06811fbf92352a
Contents?: true
Size: 373 Bytes
Versions: 20
Compression:
Stored size: 373 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Highrise::Pagination do it "should be tested" do Highrise::Person.should_receive(:find).with(:all,{:params=>{:n=>0}}).and_return(["people"]) Highrise::Person.should_receive(:find).with(:all,{:params=>{:n=>1}}).and_return([]) Highrise::Person.find_all_across_pages.should == ["people"] end end
Version data entries
20 entries across 20 versions & 4 rubygems