Fix tests involving attachment urls
This commit is contained in:
parent
785a09b326
commit
c6326bfa77
10 changed files with 14 additions and 13 deletions
|
@ -209,7 +209,6 @@ describe API::V2::GraphqlController do
|
|||
checksum
|
||||
byteSize
|
||||
contentType
|
||||
url
|
||||
}
|
||||
}
|
||||
avis {
|
||||
|
@ -270,8 +269,7 @@ describe API::V2::GraphqlController do
|
|||
filename: commentaire.piece_jointe.filename.to_s,
|
||||
contentType: commentaire.piece_jointe.content_type,
|
||||
checksum: commentaire.piece_jointe.checksum,
|
||||
byteSize: commentaire.piece_jointe.byte_size,
|
||||
url: Rails.application.routes.url_helpers.url_for(commentaire.piece_jointe)
|
||||
byteSize: commentaire.piece_jointe.byte_size
|
||||
},
|
||||
email: commentaire.email
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue