Sha256: 7c3953e2404a25c4805a5c59dda4eb7f6a4dd9514f52c09138ae8f939cf9c62f
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Projection, '#header' do subject { object.header } let(:relation) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) } let(:object) { described_class.new(relation, [ :id ]) } it_should_behave_like 'an idempotent method' it { should be_kind_of(Relation::Header) } it { should == [ [ :id, Integer ] ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/algebra/projection/header_spec.rb |