Sha256: d0e207992242432c61815d41754a639f7d9e9d12e8bf4754b659b7c29efb73cb
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Rename, '#header' do subject { object.header } let(:relation) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) } let(:object) { described_class.new(relation, :id => :other_id) } it_should_behave_like 'an idempotent method' it { should be_kind_of(Relation::Header) } it { should == [ [ :other_id, Integer ] ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/algebra/rename/header_spec.rb |