spec/unit/axiom/algebra/extension/extensions_spec.rb in axiom-0.1.0 vs spec/unit/axiom/algebra/extension/extensions_spec.rb in axiom-0.1.1

- old
+ new

@@ -3,12 +3,12 @@ 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) } + 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