spec/unit/resource/attributes_spec.rb in activeadmin-1.0.0 vs spec/unit/resource/attributes_spec.rb in activeadmin-1.1.0
- old
+ new
@@ -10,11 +10,11 @@
subject do
resource_config.resource_attributes
end
it 'should return attributes hash' do
- expect(subject).to eq( author_id: :author,
+ expect(subject).to eq(author_id: :author,
body: :body,
created_at: :created_at,
custom_category_id: :category,
foo_id: :foo_id,
position: :position,
@@ -45,6 +45,5 @@
end
end
end
end
-