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