Sha256: cd50ee2a7e1037763185b73fe1dbef8f2c00b40008c9e6ebd4f75595ddc9d3a5
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Union, 'keys' do let(:left){ an_operand.with_heading(:id => Integer, :name => String) } let(:right){ an_operand.with_heading(:id => Integer, :name => String) } let(:op){ a_lispy.union(left, right) } subject{ op.keys } let(:expected){ Keys[ [:id, :name] ] } it { should eq(expected) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems