Sha256: 93435c07deb6f740117e903f1ceb0a34ca0c1d2a23b3a984cf8d8eb5c38031d4
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Header, '#to_ary' do subject { object.to_ary } let(:attribute) { [ :id, Integer ] } let(:object) { described_class.coerce([ attribute ]) } it { should be_instance_of(Array) } it { should == [ attribute ] } 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/header/to_ary_spec.rb |