Sha256: 87ed5df8bbf92c9a305bfa6f3670fe2a51943a375465388177a1f25ac14042d8
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Variable, '#replace' do subject { object.replace(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 == [[2]] } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/relation/variable/replace_spec.rb |
axiom-0.1.1 | spec/unit/axiom/relation/variable/replace_spec.rb |