Sha256: e3b73954c2c64ab6b19d58d9ac1736c20edc485555d50a46756a669be4d8945d

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:header)   { Relation::Header.new([ [ :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 equal(header) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veritas-0.0.7 spec/unit/veritas/relation/operation/order/header_spec.rb
veritas-0.0.6 spec/unit/veritas/relation/operation/order/header_spec.rb
veritas-0.0.5 spec/unit/veritas/relation/operation/order/header_spec.rb
veritas-0.0.4 spec/unit/veritas/relation/operation/order/header_spec.rb