Sha256: 003fd28458e256a7760d95572aa5c2e21627ebb474783500c6862045729da28f

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'
module Alf
  describe "Relation#heading" do

    let(:rel){
      Relation([
        {:max => 2,   :name => "Jones"},
        {:max => 7.3, :name => "Jones"},
      ])
    }

    subject{ rel.heading }

    it{ should eq(Heading(:max => Numeric, :name => String)) }

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-relation/relation/test_heading.rb