Sha256: 586e11a717af48e3650cb6de83efbb6b86c1e176f592f6a2134cd6a983e6bafc

Contents?: true

Size: 375 Bytes

Versions: 4

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'
module Alf
  module Algebra
    describe Ungroup, "heading" do

      let(:operand){
        an_operand.with_heading(id: Integer, names: Relation[name: String])
      }
      let(:op){
        a_lispy.ungroup(operand, :names)
      }
      subject{ op.heading }

      it{
        should eq(Heading[id: Integer, name: String])
      }

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-algebra/operator/ungroup/test_heading.rb
alf-core-0.14.0 spec/unit/alf-algebra/operator/ungroup/test_heading.rb
alf-core-0.13.1 spec/unit/alf-algebra/operator/ungroup/test_heading.rb
alf-core-0.13.0 spec/unit/alf-algebra/operator/ungroup/test_heading.rb