Sha256: 266dbfdc7bc19c0f498c8c4e152f1f2fc78f62ff73b04a092c265920df62bfed
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Operation::Offset, '#directions' do subject { object.directions } let(:relation) { Relation.new([ [ :id, Integer ] ], [].each) } let(:object) { described_class.new(ordered, 0) } let(:ordered) { relation.order } it_should_behave_like 'an idempotent method' it { should equal(ordered.directions) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/operation/offset/directions_spec.rb |