Sha256: 007195fcb4b4bebc40b124335102e143e265e825dd81456ad52e95b25c49eb31
Contents?: true
Size: 397 Bytes
Versions: 4
Compression:
Stored size: 397 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_instance_of(Relation::Header) } it { should == [ [ :other_id, Integer ] ] } end
Version data entries
4 entries across 4 versions & 2 rubygems