Sha256: df9b9251bf244bf76aba6ebaa140be7b05331826c035f8dbc2210b0ec16f0988
Contents?: true
Size: 314 Bytes
Versions: 4
Compression:
Stored size: 314 Bytes
Contents
require 'test_helpers' describe Alf, "resulting type on coerce" do it 'should use the coerced info' do db.connect do |conn| rel = conn.query{ project(coerce(suppliers, status: Integer), [:status]) } exp = Relation[status: Integer] rel.class.should eq(exp) end end end
Version data entries
4 entries across 4 versions & 1 rubygems