Sha256: be358c08e7d83249260ea4dce6f7567375590d5ea08fbce1225c0131bf79d0fe
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 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 be(header) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/relation/header_spec.rb |