Sha256: 43af001717afbc850085a516f096a54974386077c0b411e2ac2b19411eea32a0
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 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_instance_of(Relation::Header) } it { should == [[:id, Integer]] } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/algebra/projection/header_spec.rb |
axiom-0.1.1 | spec/unit/axiom/algebra/projection/header_spec.rb |