Sha256: a759bdff5a31f11634edfe95908ea5caac9dff1203afe087f91b686b1c98d05e
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
require 'spec_helper' describe 'Veritas::Relation::Header#[]' do subject { header[name] } let(:header) { Relation::Header.new([ [ :id, Integer ] ]) } context 'with a known attribute name' do let(:name) { :id } it { should == [ :id, Integer ] } end context 'with an unknown attribute name' do let(:name) { :name } it { should be_nil } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.1 | spec/unit/veritas/relation/header/element_reference_spec.rb |