Sha256: ea6929943e9aeb151276cdd4cafdd54c094fe0f7d52330823c64fbb61d88f6d1
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require 'spec_helper' describe 'Veritas::Relation::Header#empty?' do subject { object.empty? } let(:klass) { Relation::Header } context 'with attributes' do let(:object) { klass.new([ [ :id, Integer ] ]) } it { should be(false) } end context 'without attributes' do let(:object) { klass.new } it { should be(true) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/relation/header/empty_spec.rb |