Sha256: 5463307b71b3ea32537d81a8c2014ab566a5046630644118f262660d161c21f1
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe 'Veritas::Algebra::Extension#extensions' do subject { object.extensions } let(:klass) { Algebra::Extension } let(:operand) { Relation.new([ [ :id, Integer ] ], [ [ 1 ], [ 2 ] ]) } let(:extensions) { { :test => lambda { |tuple| 1 } } } let(:object) { klass.new(operand, extensions) } it_should_behave_like 'an idempotent method' it { should equal(extensions) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/algebra/extension/extensions_spec.rb |