Sha256: b884eb1f8480330d37480281559d9a7942e99477785d4885e9e3ecbc0fe91311
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Operation::Limit, '#limit' do subject { object.limit } let(:relation) { Relation.new([[:id, Integer]], [[1], [2], [3]]) } let(:order) { relation.sort_by { |r| r.id } } let(:limit) { 1 } let(:object) { described_class.new(order, limit) } it { should == limit } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/relation/operation/limit/limit_spec.rb |