3c57643f76
add factory girl fix tests rename dossier_pdf into piece_jointe rename ref_piece_jointe into content
8 lines
206 B
Ruby
8 lines
206 B
Ruby
class RefPiecesJointe < ActiveRecord::Base
|
|
|
|
# TODO: test this methods
|
|
def self.get_liste_piece_jointe ref_formulaire
|
|
RefPiecesJointe.where ("\"CERFA\" = '#{ref_formulaire.ref_demarche}'")
|
|
end
|
|
|
|
end
|