It just gives me NoMethodError: undefined method 'post' for #<Capybara::Session>. The same for other HTTP verbs and .json and .raw_json.
When I design an web api for some sort of workflow, it's essential to write tests for cooperation among people who don't share sessions. Please think of adding support for Capybara::Session or implement something similar.
When I run
It just gives me
NoMethodError: undefined method 'post' for #<Capybara::Session>
. The same for other HTTP verbs and.json
and.raw_json
.When I design an web api for some sort of workflow, it's essential to write tests for cooperation among people who don't share sessions. Please think of adding support for
Capybara::Session
or implement something similar.