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