Sha256: 7dd0cdc94b0063017f331a966000d90016300cc8bfcaa5184ea1412db39474f8
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
require 'spec_helper' describe 'Veritas::Optimizer::Logic::Connective::Binary#right' do subject { object.right } let(:klass) { Optimizer::Logic::Connective::Binary } 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) { klass.new(connective) } it { should equal(optimized_right) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/optimizer/logic/connective/binary/right_spec.rb |
veritas-0.0.1 | spec/unit/veritas/optimizer/logic/connective/binary/right_spec.rb |