Sha256: 4d10cde49a7f5da8b495fb7ed8d197adc32a166fd182f949789bbf4cb64c9547
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Algebra::Product::TableDeeLeft, '#optimize' do subject { object.optimize } let(:left) { TABLE_DEE } let(:right) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ].each) } let(:relation) { left.product(right) } let(:object) { described_class.new(relation) } before do object.should be_optimizable end it { should equal(right) } end
Version data entries
4 entries across 4 versions & 1 rubygems