Re: [Rails] How does one set an HTTP header in @request for a functional test

2010-04-22 Thread steve ross
On Apr 22, 2010, at 12:18 PM, Nathan Beyer wrote: > > I have a very simple functional test for a controller, but I need to > set a header field in the request before the invocation of the action, > but the headers seem to be getting reset, even though I'm not doing > multiple requests. Is this not

[Rails] How does one set an HTTP header in @request for a functional test

2010-04-22 Thread Nathan Beyer
I have a very simple functional test for a controller, but I need to set a header field in the request before the invocation of the action, but the headers seem to be getting reset, even though I'm not doing multiple requests. Is this not how functional tests are to be used? test "test the show re