Sha256: 65ba8624fec99b6e6ced23c9137db0e02020be80341bceab18088280e09c80e6
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Extension, '#extensions' do subject { object.extensions } let(:operand) { Relation.new([ [ :id, Integer ] ], [ [ 1 ], [ 2 ] ]) } let(:extensions) { { :test => lambda { |tuple| 1 } } } let(:object) { described_class.new(operand, extensions) } it_should_behave_like 'an idempotent method' it { should equal(extensions) } end
Version data entries
4 entries across 4 versions & 1 rubygems