Sha256: a63dec0f3c81b474cd1264b07391fe26c653b47b3dad6f562633f6e56f8aaf3a
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Algebra::Difference::EmptyLeft, '#optimize' do subject { object.optimize } let(:header) { Relation::Header.new([ [ :id, Integer ] ]) } let(:left) { Relation::Empty.new(header) } let(:right) { Relation.new(header, [ [ 1 ] ].each) } let(:relation) { left.difference(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