Sha256: 7aac0ee51850f2ad1c392c9102207ba31fb8421531af61c128e1626ddf70f8d3
Contents?: true
Size: 524 Bytes
Versions: 5
Compression:
Stored size: 524 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Operation::Binary, '#right' do subject { object.right } let(:optimized) { mock('Optimized') } let(:left) { mock('Left') } let(:right) { mock('Right', :optimize => optimized) } 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