Sha256: c3b0c8144aaa1a03d172724cf987678560655417f2781febb37395b4070c59f8
Contents?: true
Size: 524 Bytes
Versions: 3
Compression:
Stored size: 524 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Operation::Combination, '#optimize' do subject { object.optimize } let(:left) { Relation.new([ [ :id, Integer ] ], []) } let(:right) { Relation.new([ [ :id, Integer ] ], []) } let(:relation) { left.join(right) } let(:object) { described_class.new(relation) } it { should be_kind_of(Relation::Empty) } its(:header) { should equal(relation.header) } its(:tuples) { should equal(relation) } end
Version data entries
3 entries across 3 versions & 2 rubygems