Sha256: 59b367b5ebc8a203448cb0dd5c0ac758ec4817f637b59e8320dcb962839bb6cf
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 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.order } 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 |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/operation/limit/limit_spec.rb |