Kelly Felkins's blog



Ask for Help

"How do you test request headers? The request object is frozen..."

The team is using rspec to test an OAuth implementation and needs better access to the request object.

  • Possibly modify the request environment prior to running the test -or-
  • Instantiate a new, non-frozen request object.