Sha256: 5ec6221803a482aef9e2c6b825a1ea337cc5f4820af6ce128681c2d3977db693

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it_should_behave_like 'an idempotent method'

  it { should equal(header) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/tuple/header_spec.rb