Sha256: 0121094b654d4af880b0277d16821ff37b8c2b50dd2521ac3318f220282d39d7
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Operation::Order::DirectionSet, '#to_ary' do subject { object.to_ary } let(:attribute) { Attribute::Integer.new(:id) } let(:object) { described_class.coerce([ attribute ]) } it { should be_instance_of(Array) } it { should == [ attribute.asc ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.0 | spec/unit/axiom/relation/operation/order/direction_set/to_ary_spec.rb |