Sha256: 03945faec86163d260fc376642eb4965e89a08a171381b95bc90c32a29792f9f
Contents?: true
Size: 677 Bytes
Versions: 4
Compression:
Stored size: 677 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Project, 'heading' do let(:operand){ an_operand.with_heading(:id => Integer, :name => String) } subject{ op.heading } context '-no-allbut' do let(:op){ a_lispy.project(operand, [:id]) } let(:expected){ Heading[:id => Integer] } it { should eq(expected) } end context '--allbut' do let(:op){ a_lispy.project(operand, [:name], :allbut => true) } let(:expected){ Heading[:id => Integer] } it { should eq(expected) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems