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