I really need a step by step guide how to write one or two tests. I'm sure I can take it from there. There's loads of information on the web but nothing I see seems to be really clear about where to get started.
I have various models key ones User, Advert and Resort models. Such that... User has_many adverts Advert belongs_to user habtm resorts Resort habtm adverts ---- In my app a user registers and then can create an advert (uses authlogic). Tests, can think of hundreds, but I guess things like this in English rather than code. - Check that only an admin can CRUD resorts (admin boolean in User) - Check that a user cannot CRUD other users adverts only their own (admin can) -- 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 -~----------~----~----~----~------~----~------~--~---

