Sha256: b2382ac75f00710fb68b61a8339c5c04136e918c7f3adf556564d53817a35bc8
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' describe 'Veritas::Optimizer::Relation::Operation::Unary::EmptyOperand#optimize' do subject { object.optimize } let(:klass) { Optimizer::Relation::Operation::Unary::EmptyOperand } let(:operand) { mock('Empty Operand') } let(:relation) { mock('Relation', :operand => operand) } let(:object) { klass.new(relation) } before do operand.stub!(:optimize).and_return(operand) end it { should equal(operand) } end
Version data entries
2 entries across 2 versions & 1 rubygems