Sha256: 5b08959f8f15afbc8c6560ebdcafbdb437210672f72783042ccc4dc40e069532
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Variable::Materialized, '#insert' do subject { object.insert(other) } let(:object) { described_class.new(relation) } let(:relation) { Relation.new(header, [[1]]) } let(:other) { [[2]] } let(:header) { [[:id, Integer]] } it { should be_instance_of(described_class) } it { should be_materialized } it { should == [[1], [2]] } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/relation/variable/materialized/insert_spec.rb |
axiom-0.1.1 | spec/unit/axiom/relation/variable/materialized/insert_spec.rb |