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