Sha256: 6fa28613b91c5f24d460bbebed7acf0229240143ac7c1ebd45abf2d3fd2cc862
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 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.new([ attribute ]) } it { should be_kind_of(Array) } it { should == [ attribute.asc ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/operation/order/direction_set/to_ary_spec.rb |