Follow_redirect!() doesn't exist?

Hi all

I want to do some functional testing. I stumbled over the method
follow_redirect!() somewhere, but evidently this doesn’t seem to exist
in my Rails version (1.2.5 or so)?! Then I tried follow_redirect()
(without the exclamation mark), and I get the following error:

TypeError: can’t convert Symbol into String

What am I doing wrong? Thanks for help :slight_smile:
Josh

On 28 Nov 2007, at 10:59, Joshua M. wrote:

Hi all

I want to do some functional testing. I stumbled over the method
follow_redirect!() somewhere, but evidently this doesn’t seem to exist
in my Rails version (1.2.5 or so)?! Then I tried follow_redirect()
(without the exclamation mark), and I get the following error:

Are you doing a functional test or an integration test. IIRC
follow_redirect is only for the latter (since functional tests revolve
around a single request).

Fred

I want to do some functional testing.

:wink: