Sha256: db09fe40f014e4a018115151bfae0960b68f8bd86d355b374fcd6240fd2296bb
Contents?: true
Size: 654 Bytes
Versions: 2
Compression:
Stored size: 654 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Summarization, '#insert' do subject { object.insert(other) } let(:object) { described_class.new(operand, summarize_by, summarizers) } let(:other) { double('other') } let(:operand) { Relation.new([[:id, Integer]], []) } let(:summarize_by) { operand.project([]) } let(:summarizers) { { test: 1 } } specify { expect { subject }.to raise_error(ImmutableRelationError, 'inserting into a summarization is impossible') } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/algebra/summarization/insert_spec.rb |
axiom-0.1.1 | spec/unit/axiom/algebra/summarization/insert_spec.rb |