Sha256: b4fa220f2e683cf09402df6b63b3d326a2bfb5391487a8d62660631615403e18
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Rename::Methods, '#rename' do subject { object.rename(aliases) } let(:described_class) { Relation } let(:attribute) { Attribute::Integer.new(:id) } let(:aliases) { { :id => :other_id } } let(:object) { described_class.new([ attribute ], [ [ 1 ] ].each) } it { should be_kind_of(Algebra::Rename) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/algebra/rename/methods/rename_spec.rb |