Sha256: f43e98deb1619adfd6e010fc42ca489fc7523f82f9d1720a738afb2a7ea5df21

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Relation::Operation::Order::DirectionSet#to_ary' do
  subject { object.to_ary }

  let(:klass)     { Relation::Operation::Order::DirectionSet }
  let(:attribute) { Attribute::Integer.new(:id)              }
  let(:object)    { klass.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.2 spec/unit/veritas/relation/operation/order/direction_set/to_ary_spec.rb