-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
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:
Line 139 in 5b3cbd5
| env["PATH_INFO"] = "/#{options[:action]}" |
johannesluedke, shuuuuun, ouchi-keita, mortik, simba909 and 2 more
Metadata
Metadata
Assignees
Labels
No labels