Sha256: d6a02680140e9c03be2682755dd11302f7cd159b726c21b07d0d423ca7f1e4ab

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Operation::Order::DirectionSet, '#attributes' do
  subject { object.attributes }

  let(:attribute) { Attribute::Integer.new(:id)        }
  let(:object)    { described_class.new([ attribute ]) }

  it { should be_kind_of(Array) }

  it { should == [ attribute ] }
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/attributes_spec.rb