Sha256: 202dff7dc3e637ba00592d02ea8ec4b1ae9fdaf6da62fdfb6778be395436aae5

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Optimizer::Relation::Operation::Binary, '#left' do
  subject { object.left }

  let(:optimized) { mock('Optimized')                                }
  let(:left)      { mock('Left', :optimize => optimized)             }
  let(:right)     { mock('Right')                                    }
  let(:relation)  { mock('Relation', :left => left, :right => right) }
  let(:object)    { described_class.new(relation)                    }

  it { should equal(optimized) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

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