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