2009/9/14 bingo bob <[email protected]>:
>
>
> I'd like to be one of the cool kids who does "testing". Yes, I know it's
> essential.
>
> Where do I start. I'd just like to start with a/some simple test.
>
> My app users authlogic and i have an User.admin boolean flag.
>
> I'd like to start by testing some stuff around this like only the
> current_user or an Admin can delete their own Advert(s).
>
> Any links tips to help start me off.
>
> A User has many Adverts.

Have you seen the rails guide on testing at http://guides.rubyonrails.org/ ?

Colin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to