Fix Test spec/controllers/api/*.rb
This commit is contained in:
parent
fc289ba7b3
commit
90cfd3eccb
10 changed files with 33 additions and 29 deletions
|
@ -1,7 +1,6 @@
|
|||
class CerfaSerializer < ActiveModel::Serializer
|
||||
|
||||
attributes :created_at,
|
||||
:content_url => :url
|
||||
:content_url
|
||||
|
||||
has_one :user
|
||||
end
|
|
@ -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
|
|
@ -1,7 +1,7 @@
|
|||
class TypeDeChampSerializer < ActiveModel::Serializer
|
||||
attributes :id,
|
||||
:libelle,
|
||||
{:type_champ => :type},
|
||||
:type_champ,
|
||||
:order_place,
|
||||
:description
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue