Sha256: 5414753dcf61a826c070f540dd4bf899c9b9eebfbef25845a9778a2a6a7abb5e
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer::Relation::Materialized::EmptyOperand, '#optimize' do subject { object.optimize } let(:header) { Relation::Header.coerce([[:id, Integer]]) } let(:relation) { Relation.new(header, LazyEnumerable.new) } let(:object) { described_class.new(relation) } before do expect(object).to be_optimizable end it { should be_kind_of(Relation::Empty) } its(:header) { should be(header) } end
Version data entries
2 entries across 2 versions & 1 rubygems