Sha256: a24fdfe36da99f5af9d88c14e71ad365a59dd507422c30abf9e86d2b15a7536d
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 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) } end
Version data entries
2 entries across 2 versions & 1 rubygems