But that doesn’t work in stories (request is nil), and it’s not very
elegant, anyway. Does anyone know how to set a request body in a
scenario step?
I don’t know if you’re aware of it, but assuming you’re testing a
Rails app, your scenario steps are running inside a Rails
ActionController::Integration::Session