On Jul 18, 2:40 pm, bingo bob <[email protected]> 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 ?
You could just have two separate test files, or you might want to look at shoulda Fred > -- > Posted viahttp://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.

