Sha256: 310b2764ceb8d31ffdd8bf22e83659ed8a0877e52a3cc563193e13d71dda98eb
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Tuple, '#data' do subject { object.data } 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(Hash) } it { should eql(header[:id] => 1) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/tuple/data_spec.rb |
axiom-0.1.1 | spec/unit/axiom/tuple/data_spec.rb |