Sha256: 5eacef16c95aa8bf37b3349779e30a5c4ab7606114db34c447dd5122e6b11883
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Operation::Unary, '#operand' do subject { object.operand } let(:described_class) { Class.new(Optimizer::Relation::Operation::Unary) } let(:optimized) { double('Optimized') } let(:operand) { double('Operand', optimize: optimized) } let(:header) { double('Header') } let(:relation) { double('Relation', operand: operand, header: header) } let(:object) { described_class.new(relation) } it { should be(optimized) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-optimizer-0.2.0 | spec/unit/axiom/optimizer/relation/operation/unary/operand_spec.rb |
axiom-optimizer-0.1.1 | spec/unit/axiom/optimizer/relation/operation/unary/operand_spec.rb |