Sha256: dfb7cdd6402027a403567ac9c0e5df00ee97ba6e51218ca863a1236d84818bfc
Contents?: true
Size: 427 Bytes
Versions: 5
Compression:
Stored size: 427 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Extension, '#operand' do subject { object.operand } 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(operand) } end
Version data entries
5 entries across 5 versions & 2 rubygems