Sha256: 26734d5b61d3cdea4403be927e696cc1786a2a2f33d8c7ab93a750157ad4e859
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 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 => 1 } } let(:object) { described_class.new(operand, extensions) } it_should_behave_like 'an idempotent method' it { should == { Attribute::Object.new(:test) => 1 } } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.0 | spec/unit/axiom/algebra/extension/extensions_spec.rb |