Sha256: d3815f3112e1be1838bce3d855807ebf50eea0e8a1e89659aaecdeca215c72a4

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Tuple, '#header' do
  subject { object.header }

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

  it_should_behave_like 'an idempotent method'

  it { should equal(header) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veritas-0.0.7 spec/unit/veritas/tuple/header_spec.rb
veritas-0.0.6 spec/unit/veritas/tuple/header_spec.rb
veritas-0.0.5 spec/unit/veritas/tuple/header_spec.rb
veritas-0.0.4 spec/unit/veritas/tuple/header_spec.rb