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