Sha256: 45a46f0a2893a9222261d5f45f521fd66f758dd28c3e859a5ad2ae752b4b8915

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:header) { Relation::Header.coerce([ [ :id, Integer ] ]) }
  let(:object) { described_class.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
axiom-0.1.0 spec/unit/axiom/relation/empty/header_spec.rb