Sha256: 7bf18b0646c1ea4471519dcc0898f4ee0445d65d95a2b8e5b2a1f50b7a9e9f97
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Algebra::Join::DisjointHeaders, '#optimize' do subject { object.optimize } let(:left) { Relation.new([[:id, Integer]], LazyEnumerable.new([[1]])) } let(:right) { Relation.new([[:other_id, Integer]], LazyEnumerable.new([[2]])) } let(:relation) { left.join(right) } let(:object) { described_class.new(relation) } before do expect(object).to be_optimizable end it { should be_kind_of(Algebra::Product) } its(:left) { should be(left) } its(:right) { should be(right) } end
Version data entries
2 entries across 2 versions & 1 rubygems