Sha256: 57696a70649ed9b71445fd77e294f09d7d271155cfc868c7d5eabb6675e8a92d
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Variable, '#insert' do subject { object.insert(other) } let(:object) { described_class.new(relation) } let(:relation) { Relation::Base.new(:users, header, [[1]]) } let(:other) { [[2]] } let(:header) { [[:id, Integer]] } it { should be_instance_of(described_class) } it { should_not 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/insert_spec.rb |
axiom-0.1.1 | spec/unit/axiom/relation/variable/insert_spec.rb |