acts_as_authenticated plugin test help

rails.stuff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Wed, 13 Dec 2006 17:13:22 -0000

Hi,
We are using acts_as_authenticated plugin latest version as of a couple
of days back.

The before_filter :login_required was added to the application
controller. So far so good.

However the functional tests are all failing as one would expect
(perhaps not me though) witha 302 .... exactly - no one is logged in.
This is correct behaviour but a pain when function testing.

Is there a suggested/recommended course of action to handle this ? I
have looked around but have been unsuccessful.

PS. I am using the AuthenticatedTestHelper and its _login_as_ method.
However this requires that every test method must login. I was just
looking
for a differnet way ... if there is one. = )

Thank you for all and any help.
sinclair