Sha256: f1d983103a08a71023d91a1666b10e8e196494f8b6fd3614563d295e58a73b71
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 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], LazyEnumerable.new([[1]])) } it { should be_instance_of(Algebra::Rename) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/algebra/rename/methods/rename_spec.rb |
axiom-0.1.1 | spec/unit/axiom/algebra/rename/methods/rename_spec.rb |