Sha256: 71e6a7ebb4af129c15bfc9f538696850b755d5f5831783144eec8872bdfa4ec9

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:described_class) { Class.new(Optimizer::Relation::Operation::Unary)     }
  let(:operand)         { double('Operand')                                    }
  let(:header)          { double('Header')                                     }
  let(:relation)        { double('Relation', operand: operand, header: header) }
  let(:object)          { described_class.new(relation)                        }

  it { should be(header) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-optimizer-0.2.0 spec/unit/axiom/optimizer/relation/operation/unary/header_spec.rb
axiom-optimizer-0.1.1 spec/unit/axiom/optimizer/relation/operation/unary/header_spec.rb