I’m currently facing an issue with Rspec request testing, where I’d like to be able to put String or JSON as parameter of the request in order to test my controllers.
My issue is that the chosen definition of the request helpers are taken from
Rack::Test, which only allows for hashes as parameters. I would like to get the definition from
Would you have any clue about how achieving this?