Sha256: 81d734ecc19419b7ce4e47100630d321c624393ff6c76c81380a4b2a2751c2e9

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it_should_behave_like 'an idempotent method'

  it { should be(header) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.1 spec/unit/axiom/relation/operation/order/header_spec.rb