Sha256: 3b05a0d96f99a1ec2cda47f5f83eb9902f9ddf109151d7e826c2abad76a39185

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'
module Alf
  module Algebra
    describe Compact, 'heading' do

      let(:operand){
        an_operand.with_heading(:id => String, :name => String)
      }

      subject{ op.heading }

      let(:op){ 
        a_lispy.compact(operand)
      }
      let(:expected){
        Heading[:id => String, :name => String]
      }

      it { should eq(expected) }

    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/compact/test_heading.rb
alf-core-0.14.0 spec/unit/alf-algebra/operator/compact/test_heading.rb
alf-core-0.13.1 spec/unit/alf-algebra/operator/compact/test_heading.rb
alf-core-0.13.0 spec/unit/alf-algebra/operator/compact/test_heading.rb