win.raguini
2008-Jul-29 18:11 UTC
Undefined method referer on ActionController::TestRequest
I am getting a NoMethodError: undefined method `referer'' for #<ActionController::TestRequest:0x438f2e4> when running a test on a controller including a request.referer call. When tested via script/server it works perfectly. I also checked the TestRequest API which does in fact include the referer() method. Am I doing something wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---