spec/integration/mongoid/contexts/enumerable_spec.rb in mongoid-pre-2.0.0.beta1 vs spec/integration/mongoid/contexts/enumerable_spec.rb in mongoid-pre-2.0.0.pre

- old
+ new

@@ -15,19 +15,6 @@ addresses = @person.addresses.paginate(:page => nil, :per_page => 5) addresses.current_page.should == 1 addresses.size.should == 5 end end - - describe "limit and skip" do - - it "limits" do - @person.addresses.criteria.limit(5).size.should == 5 - end - - it "skips" do - @person.addresses.criteria.skip(5).limit(10). - map(&:number).should == [5, 6, 7, 8, 9] - end - - end end