Sha256: ece85ae84c834a763c8e520f36ff4cb3c4ab5596b5afb69b23dcfb3e0c1c9b19

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Relation::Empty#header' do
  subject { object.header }

  let(:klass)  { Relation::Empty                            }
  let(:header) { Relation::Header.new([ [ :id, Integer ] ]) }
  let(:object) { klass.new(header)                          }

  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/empty/header_spec.rb