Sha256: ad25c5af6fd605c2d6358b9c588c79abe2b6131f0a1066f9b96615bbe258cc42
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
require 'spec_helper' module Alf describe Relation, ".coerce bugs" do let(:arg){ [Tuple(sid: "S5", suppliers: Relation([]))] } context 'on Relation' do subject{ Relation.coerce(arg) } it 'works' do subject.should be_a(Relation) end end context 'on Relation[...]' do subject{ Relation[sid: String, suppliers: Relation[{}]].coerce(arg) } it 'works' do subject.should be_a(Relation) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems