spec/unit/axiom/relation/operation/binary/header_spec.rb in axiom-0.1.0 vs spec/unit/axiom/relation/operation/binary/header_spec.rb in axiom-0.1.1

- old
+ new

@@ -4,16 +4,16 @@ require File.expand_path('../fixtures/classes', __FILE__) describe Relation::Operation::Binary, '#header' do subject { object.header } - let(:described_class) { BinaryRelationOperationSpecs::Object } - let(:left) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) } - let(:right) { Relation.new([ [ :name, String ] ], [ [ 'Dan Kubb' ] ]) } - let(:object) { described_class.new(left, right) } + let(:described_class) { BinaryRelationOperationSpecs::Object } + let(:left) { Relation.new([[:id, Integer]], [[1]]) } + let(:right) { Relation.new([[:name, String]], [['Dan Kubb']]) } + let(:object) { described_class.new(left, right) } it_should_behave_like 'an idempotent method' it { should be_instance_of(Relation::Header) } - it { should == [ [ :id, Integer ], [ :name, String ] ] } + it { should == [[:id, Integer], [:name, String]] } end