Sha256: d6e520c0d12429c9637ce522b8a0f24f72871597a3eca549fdbd859d4eff6f07
Contents?: true
Size: 432 Bytes
Versions: 1
Compression:
Stored size: 432 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Header, '#rename' do subject { object.rename(aliases) } let(:aliases) { Algebra::Rename::Aliases.coerce(object, :id => :other_id) } let(:object) { described_class.new([ [ :id, Integer ], [ :name, String ] ]) } it { should be_kind_of(described_class) } it { should_not equal(object) } it { should == [ [ :other_id, Integer ], [ :name, String ] ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/header/rename_spec.rb |