Sha256: e13f00ae8c4a7dbe635c17932433ca7b2500d188aa522791677042fd820c5099
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Tuple, '#to_ary' do subject { object.to_ary } let(:header) { Relation::Header.coerce([ [ :id, Integer ] ]) } let(:object) { described_class.new(header, [ 1 ]) } it_should_behave_like 'an idempotent method' it { should be_instance_of(Array) } it { should be_frozen } it { should == [ 1 ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.0 | spec/unit/axiom/tuple/to_ary_spec.rb |