Sha256: 74175ef2f21ab0e8cf45390dfd0ccb1356c07aed8b859104cabee4e7daf006ad

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'
module Alf
  describe Tuple, "===" do

    let(:type){ Tuple[price: Float] }

    subject{ type === tuple }

    context 'when applied to a most specific tuple than declared' do
      let(:tuple){ Tuple[price: Numeric].new(price: 12.0) }

      it{
        pending("most-specific types not implemented"){ should be_true }
      }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-relation/tuple/test_triple_equal.rb
alf-core-0.14.0 spec/unit/alf-relation/tuple/test_triple_equal.rb
alf-core-0.13.1 spec/unit/alf-relation/tuple/test_triple_equal.rb
alf-core-0.13.0 spec/unit/alf-relation/tuple/test_triple_equal.rb