spec/unit/axiom/tuple/header_spec.rb in axiom-0.1.0 vs spec/unit/axiom/tuple/header_spec.rb in axiom-0.1.1
- old
+ new
@@ -3,12 +3,12 @@
require 'spec_helper'
describe Tuple, '#header' do
subject { object.header }
- let(:header) { Relation::Header.coerce([ [ :id, Integer ] ]) }
- let(:object) { described_class.new(header, [ 1 ]) }
+ let(:header) { Relation::Header.coerce([[:id, Integer]]) }
+ let(:object) { described_class.new(header, [1]) }
it_should_behave_like 'an idempotent method'
- it { should equal(header) }
+ it { should be(header) }
end