Sha256: 8b4fd9914ed43c1d8b1d9a5ffc2de71b0edaebe8941c865ce0503d4acfaf99ce

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

require 'optimizer_helper'
module Alf
  describe "coerce" do

    subject{ coerce(an_operand, :y => Integer) }

    let(:split_attributes){ subject.coercions.to_attr_list }

    it_should_behave_like "a split-able expression for restrict"

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-optimizer/test_coerce.rb
alf-core-0.14.0 spec/unit/alf-optimizer/test_coerce.rb
alf-core-0.13.1 spec/unit/alf-optimizer/test_coerce.rb
alf-core-0.13.0 spec/unit/alf-optimizer/test_coerce.rb