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