Sha256: 5a861cd8b7dba99e39e72203372bca5e9841e6d0150a784b2c5f48c72648eaf5

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 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 be(header) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/tuple/header_spec.rb
axiom-0.1.1 spec/unit/axiom/tuple/header_spec.rb