lundi 24 juillet 2017

rails test:case integration how to specify format

I've this

post(my_path, params: {param: :one}, format: :js)

However I receive this error

ArgumentError: unknown keyword: format

What is the right way to do this?

Aucun commentaire:

Enregistrer un commentaire