Sha256: 76c3ed9b1a87cf0906625ec7d83abc85c899a1859af400084e9aa83e4ee57f9d
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
require 'spec_helper' describe 'Veritas::Algebra::Projection#header' do subject { object.header } let(:klass) { Algebra::Projection } let(:relation) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) } let(:object) { klass.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.2 | spec/unit/veritas/algebra/projection/header_spec.rb |