Sha256: b389bfb63057586777aff848673169e364fae5b8186789b894d3b2cc273af6bc
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Operation::Binary, '#left' do subject { object.left } let(:optimized) { double('Optimized') } let(:left) { double('Left', optimize: optimized) } let(:right) { double('Right') } let(:relation) { double('Relation', left: left, right: right) } let(:object) { described_class.new(relation) } it { should be(optimized) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-optimizer-0.2.0 | spec/unit/axiom/optimizer/relation/operation/binary/left_spec.rb |
axiom-optimizer-0.1.1 | spec/unit/axiom/optimizer/relation/operation/binary/left_spec.rb |