Sha256: d6263ce142ebf6fdf38e29494ca42ba6055f58cca19e8be0a8cae6fae164640c
Contents?: true
Size: 427 Bytes
Versions: 5
Compression:
Stored size: 427 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Operation::Unary::EmptyOperand, '#optimize' do subject { object.optimize } let(:operand) { Relation::Empty.new([ [ :id, Integer ] ]) } let(:relation) { operand.rename({}) } let(:object) { described_class.new(relation) } before do object.should be_optimizable end it { should equal(operand) } end
Version data entries
5 entries across 5 versions & 2 rubygems