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