Rails function tests not calling setup

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?

Thanks

Andrew T.
[email protected]
082 415 8283
skype: andrewtimberlake

“I have never let my schooling interfere with my education.”
–Mark Twain

On 14 Mar 2008, at 12:47, Andrew T. wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs