Hi we have made a module for a controller and that module uses the session_id
to store some information.
It works well when we run it.
When running cucumber it seams like the request is null.
undefined method `session_options' for nil:NilClass (NoMethodError)
here is what we do in the module
request.session_options[:id]
We are trying to avoid mocking the request since we have logic based on information like request.remote_ip
and request.session_options[:id]
Tried with cookies and the same issue comes up. cookies is always nil, is this a limitation of cucumber?