Sha256: 311a32327cb53f7c55480d862ebe8823e5b09f8786d1a76caa7388fa2a3d4da2
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
require 'spec_helper' module Alf module Algebra describe Coerce, 'heading' do let(:operand){ an_operand.with_heading(:id => String, :name => String) } subject{ op.heading } let(:op){ a_lispy.coerce(operand, :id => Integer) } let(:expected){ Heading[:id => Integer, :name => String] } it { should eq(expected) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems