Sha256: e659171c7b43f18db4dee4ddb289338e04779eccdf9a616ce9d7b9c60421c9b0
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
require 'spec_helper' describe 'Veritas::Algebra::Extension#operand' do subject { object.operand } 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(operand) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/algebra/extension/operand_spec.rb |