Sha256: 50e0c046de0e99ad5bc402be108bdc592a8aace08a6e21c23f6e0163d5616247

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 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

2 entries across 2 versions & 1 rubygems

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