Sha256: 8ffe4a0fb741d3f95196bd03d36fa793b5c02f72561070aa5ca41e106f4bc2fb
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 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
4 entries across 4 versions & 2 rubygems