Sha256: 77d1eb5a346de9e639d2f445df1a2baa5523e9e479610a1bd87b6980329b72a8
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Operation::Order, '#directions' do subject { object.directions } let(:relation) { Relation.new([ [ :id, Integer ] ], [].each) } let(:directions) { described_class::DirectionSet.new(relation.header) } let(:object) { described_class.new(relation, directions) } it_should_behave_like 'an idempotent method' it { should equal(directions) } end
Version data entries
4 entries across 4 versions & 1 rubygems