bingo bob wrote: > Hi all, > > functional test help please, > > http://pastie.org/1049300 > > lines 5 to 8 simulate a login; all fine, but after line 56 I'd like to > test the reverse that everything is blocked when the user is not logged > in. So the question is how could I not do that setup routine after line > 56, or is there a better way ?
There is a better way: use Cucumber. Functional tests basically suck. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

