Sha256: 883f026a68aad75a8a46d9178096295a1fdea261e0ffc38c778740cf32099537
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' describe 'Veritas::Relation#header' do subject { object.header } let(:klass) { Relation } let(:header) { Relation::Header.new([ [ :id, Integer ] ]) } let(:object) { klass.new(header, [].each) } before do object.should be_instance_of(klass) end it_should_behave_like 'an idempotent method' it { should equal(header) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/relation/header_spec.rb |