Sha256: c7e27d589ee22225fc4a0198c0643b2650cf3413cf6863227244c9cf6f8504e9
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
require 'spec_helper' describe 'Veritas::Relation#materialize' do subject { object.materialize } let(:klass) { Relation } let(:header) { Relation::Header.new([ [ :id, Integer ] ]) } let(:object) { klass.new(header, [ [ 1 ] ].each).order } before do object.should be_kind_of(klass) end it { should be_kind_of(Relation::Materialized) } its(:header) { should equal(header) } its(:directions) { should == header } it 'returns an equivalent relation to the unmaterialized operation' do should == object end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/relation/materialize_spec.rb |