Sha256: 1c9d83bfb65a04b522780b1c15ac57893068ac3c7c796c6227c5547d8d421d4c
Contents?: true
Size: 307 Bytes
Versions: 5
Compression:
Stored size: 307 Bytes
Contents
require 'spec_helper' describe DataMapper::ChunkedQuery do it "should allow chunked queries directly from Models" do TestModel.chunks(1).length.should == 100 end it "should allow chunked queries from other queries" do TestModel.all(:number.lte => 50).chunks(1).length.should == 50 end end
Version data entries
5 entries across 5 versions & 1 rubygems