On 14 Mar 2008, at 12:47, Andrew Timberlake wrote:
>
> Hi all
>
> I have tried Googling this and have not come up with anything
> specifically
> helpful.
>
> The setup method in my functional tests is not being called at all.
>
> I''m using Rails 2.0.2.
> Has anyone experienced this? Is it a known issue and is there a work
> around?
This isn''t quite what you''re talking about, but it might guide
you in
the right direction. In 2.0, your test cases are subclasses of
ActionController::TestCase (or something like that) which provides a
setup task that gets rid of the boilerplate of creating a controller
instance, test request etc..., but if you supply your own setup method
then you need to call super or those things aren''t done for you.
Fred
> Thanks
>
> Andrew Timberlake
> andrew-642hCh26+Dt3UeSHeRwt+FaTQe2KTcn/@public.gmane.org
> 082 415 8283
> skype: andrewtimberlake
>
> "I have never let my schooling interfere with my education."
> --Mark Twain
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---