Sha256: 2dc2b7a5d119a6717de33b1aa976bf86b38e3fc9fccc758c5028aa4832ff8594

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 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.coerce([ attribute ]) }

  it { should be_instance_of(Array) }

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