Sha256: fe06180332dc9c2bb15550e493ebeb4d16dbb062085717cd190bf2d2e2c972e4
Contents?: true
Size: 647 Bytes
Versions: 5
Compression:
Stored size: 647 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Function::Connective::Binary, '#left' do subject { object.left } let(:optimized_left) { mock('Optimized Left') } let(:optimized_right) { mock('Optimized Right') } let(:left) { mock('Left', :optimize => optimized_left) } let(:right) { mock('Right', :optimize => optimized_right) } let(:connective) { mock('Connective', :left => left, :right => right) } let(:object) { described_class.new(connective) } it { should equal(optimized_left) } end
Version data entries
5 entries across 5 versions & 2 rubygems