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

- old
+ new

@@ -4,14 +4,14 @@ require File.expand_path('../fixtures/classes', __FILE__) describe Relation::Operation::Unary, '#header' do subject { object.header } - let(:described_class) { UnaryOperationSpecs::Object } - let(:header) { Relation::Header.coerce([ [ :id, Integer ] ]) } - let(:relation) { Relation.new(header, [ [ 1 ] ]) } - let(:object) { described_class.new(relation) } + let(:described_class) { UnaryOperationSpecs::Object } + let(:header) { Relation::Header.coerce([[:id, Integer]]) } + let(:relation) { Relation.new(header, [[1]]) } + let(:object) { described_class.new(relation) } it_should_behave_like 'an idempotent method' - it { should equal(header) } + it { should be(header) } end