You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having issues in our tests where we use last_request.env['PATH_INFO'] to get the requested URL to validate the response against our JSON specification. This breaks when trying to test the unauthenticated case, because warden overwrites env['PATH_INFO'] to /unauthenticated. Why is that?
Relevant code is:
We are having issues in our tests where we use
last_request.env['PATH_INFO']
to get the requested URL to validate the response against our JSON specification. This breaks when trying to test the unauthenticated case, because warden overwritesenv['PATH_INFO']
to/unauthenticated
. Why is that?Relevant code is:
warden/lib/warden/manager.rb
Line 139 in 5b3cbd5
The text was updated successfully, but these errors were encountered: