Sha256: 46df0132ce0dd1efc27a9a7aae460cae83b7c4505ea94241d437a421143e2de6
Contents?: true
Size: 411 Bytes
Versions: 4
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Coerce do let(:operator_class){ Coerce } it_should_behave_like("An operator class") subject{ a_lispy.coerce(an_operand, :a => Integer, :b => Float) } it { should be_a(Coerce) } it 'should be bound correctly' do subject.coercions.should eq(Heading[:a => Integer, :b => Float]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems