Test attributes declared as strings

Thanks @mikegee

Closes #380
This commit is contained in:
Santiago Pastorino
2013-10-22 11:54:42 -02:00
parent db086794c6
commit 06e4c2c9d6
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ class ARTagSerializer < ActiveModel::Serializer
end
class ARSectionSerializer < ActiveModel::Serializer
attributes :name
attributes 'name'
end
ARPost.create(title: 'New post',