Sha256: 2cc505bd2bded96c58bae20c8345a19cc0eac5f1db5dfc68433f2dc2c23f6a1e

Contents?: true

Size: 592 Bytes

Versions: 5

Compression:

Stored size: 592 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)         { mock('Operand')                                          }
  let(:header)          { mock('Header')                                           }
  let(:relation)        { mock('Relation', :operand => operand, :header => header) }
  let(:object)          { described_class.new(relation)                            }

  it { should equal(header) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
axiom-optimizer-0.1.0 spec/unit/axiom/optimizer/relation/operation/unary/header_spec.rb
veritas-optimizer-0.0.7 spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb
veritas-optimizer-0.0.6 spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb
veritas-optimizer-0.0.5 spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb
veritas-optimizer-0.0.4 spec/unit/veritas/optimizer/relation/operation/unary/header_spec.rb