Sha256: 5471f8428904fd96a71ffda411341f5df23301b301fb37c8171a58c1d45d3419
Contents?: true
Size: 434 Bytes
Versions: 4
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Ungroup, "keys" do let(:operand){ an_operand.with_heading( :id => Integer, :names => Relation[first: String, last: String] ).with_keys([:id]) } let(:op){ a_lispy.ungroup(operand, :names) } subject{ op.keys } it{ should eq(Keys[ [:id, :first, :last] ]) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems