Sha256: cceac602b22d187299e83bce7add46ad425f608c9b2cb9a4f179a61cff672485
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/algebra/rename/header_spec.rb |
axiom-0.1.1 | spec/unit/axiom/algebra/rename/header_spec.rb |