Fix Test spec/controllers/api/*.rb

This commit is contained in:
Xavier J 2016-11-15 09:54:17 +01:00
parent fc289ba7b3
commit 90cfd3eccb
10 changed files with 33 additions and 29 deletions

View file

@ -1,7 +1,6 @@
class CerfaSerializer < ActiveModel::Serializer
attributes :created_at,
:content_url => :url
:content_url
has_one :user
end

View file

@ -1,7 +1,7 @@
class PieceJustificativeSerializer < ActiveModel::Serializer
attributes :created_at,
:type_de_piece_justificative_id,
:content_url => :url
:content_url
has_one :user
end

View file

@ -1,7 +1,7 @@
class TypeDeChampSerializer < ActiveModel::Serializer
attributes :id,
:libelle,
{:type_champ => :type},
:type_champ,
:order_place,
:description
end