Sha256: b2c17200bb0333396f931cbf55049fd299ca720be1b7179a8a9a3d9d970d7a1f
Contents?: true
Size: 653 Bytes
Versions: 2
Compression:
Stored size: 653 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Summarization, '#delete' do subject { object.delete(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, 'deleting from 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/delete_spec.rb |
axiom-0.1.1 | spec/unit/axiom/algebra/summarization/delete_spec.rb |