spec/unit/axiom/relation/header/to_ary_spec.rb in axiom-0.1.0 vs spec/unit/axiom/relation/header/to_ary_spec.rb in axiom-0.1.1
- old
+ new
@@ -3,14 +3,14 @@
require 'spec_helper'
describe Relation::Header, '#to_ary' do
subject { object.to_ary }
- let(:attribute) { [ :id, Integer ] }
- let(:object) { described_class.coerce([ attribute ]) }
+ let(:attribute) { [:id, Integer] }
+ let(:object) { described_class.coerce([attribute]) }
it { should be_instance_of(Array) }
- it { should == [ attribute ] }
+ it { should == [attribute] }
it { should be_frozen }
end