Sha256: ce67228d54dcf8cfd24d90a3ef01df31fd0ef1434c3f74928371bca1feb84386

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Keys, '#to_ary' do
  subject { object.to_ary }

  let(:object) { described_class.coerce([ header ]) }
  let(:header) { [ [ :id ] ]                        }

  it { should be_instance_of(Array) }

  it { should == [ header ] }

  it { should be_frozen }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/relation/keys/to_ary_spec.rb