Sha256: 5f7e74dd5b917309d73bb7c7be66f10a78e6a2ead7401aa4a53de7129718e9c7

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 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.1 spec/unit/axiom/relation/operation/order/direction_set/attributes_spec.rb