[Rails] Test - Skip Setup

2010-07-27 Thread Eric Yen
Hi, I want to write a functional test using the default test unit that is included with rails 3. Is there a way to skip a setup call? So I'm trying to test the users controller. But to access those actions, I need to be logged in. So I put a login algorithm in my setup. But I do not need to be

Re: [Rails] Test - Skip Setup

2010-07-27 Thread Jeffrey L. Taylor
Quoting Eric Yen e...@ericyen.com: Hi, I want to write a functional test using the default test unit that is included with rails 3. Is there a way to skip a setup call? So I'm trying to test the users controller. But to access those actions, I need to be logged in. So I put a login